yamada
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[DaGaAr]]
___________________________080922_________...
[作業]:
- List Optionのlegendを変えられるようにした(uploadにはま...
- クリッカブルラベルに天体名+座標値も表示されるようにし...
___________________________080825_________...
[タイトル]:legend hiddenの問題点。Formからの送られ方が、...
--> text -> index保持、 (ウソ)
--> hidden->保持しない
により、indexがずれてくる。text無駄に高機能? (ウソ)
以下にindexの@lenged, @hidden_legendの動向のサンプルを示...
-> all_plot後 =>EMP,RGB del check =>plot後の各変数とindex...
index: r_files: legend(text): hidd...
0 _MP.dat MP MP
1 _EMP_RGB.dat EMP,RGB EMP,RGB <=送ら...
2 _EMP_MS.dat EMP,MS EMP,MS
3 _Crich_RGB.dat Crich,RGB Crich,RGB
4 _Crich_MS.dat Crich,MS Crich,MS
5 _CEMP_RGB.dat CEMP,RGB CEMP,RGB
6 _CEMP_MS.dat CEMP,MS CEMP,MS
-> もう一度プロットを押す
index: r_files: legend(text): hid...
0 _MP.dat MP MP
1 _EMP_RGB.dat EMP,MS
2 _EMP_MS.dat EMP,MS Crich,RGB
3 _Crich_RGB.dat Crich,RGB Crich,MS
4 _Crich_MS.dat Crich,MS CEMP,RGB
5 _CEMP_RGB.dat CEMP,RGB CEMP,MS
6 _CEMP_MS.dat CEMP,MS
-->legend(text)は前のindexを保持しつづけている (ウソ)
が、hidden_legend(hidden)はindexつけなおされている。ので...
[対策案]:
- textボックスのindexが保持されるのなら、hiddenいらない (...
ので、そのままでいいのだろうか?index途中でリセットされる...
- unvisibleなtextとか作れないのか?それをhidden代わりにす...
[間違い]:上記のは、間違いでした。上記のlegendはallocate_...
[実際になにをすればいいか]:実際には、allocate_legend_ind...
[Attention]:基本的な間違い。忘れてる?のが原因か?
___________________________080704_________...
[タイトル]:バグレポート
-[N/O]vs[Fe/H]でサーチすると65天体しかHITしないのはなぜな...
-[Eu/H]vs[Fe/H]プロットでEuのデータがあるCS22892-052天体...
-天体名の情報のページのatomic number横軸の図でscalingした...
-HE1424-0241の天体情報のページがない
___________________________080612_________...
[タイトル]:Upload 機能バグレポート
-Upload Formでファイルupload後、Upload upload filesボタン...
-デフォルトでupload filesがない状態ではUplad機能が機能し...
[タイトル]:今まさにどのファイルがUploadされたかという取...
- ssupload2.cgiで、uploadしたファイル(upfile)をup_upfile...
___________________________080609_________...
[タイトル]:legendが消えるのが問題でして
[内容]:ユーザーがリストオプション操作をし続けることでleg...
[目的] @plot_files, @del_files, @legendのindexを@r_files...
-[ルール]: @r_files, @plot_files, @del_filesのindexの揃...
のラベルで判断している(_allocate_index_one)一方、legendは...
<<legendの動きのテスト>>
- [[CEMP,RGB -> del check:http://astro3.sci.hokudai.ac.j...
index: r_files: plot_files: del_files...
0 _MP.dat _MP.dat CEMP_RGB.dat M...
1 _EMP_RGB.dat _EMP_RGB.dat E...
2 _EMP_MS.dat _EMP_MS.dat E...
3 _Crich_RGB.dat _Crich_RGB.dat C...
4 _Crich_MS.dat _Crich_MS.dat C...
5 _CEMP_RGB.dat _CEMP_RGB.dat C...
6 _CEMP_MS.dat _CEMP_MS.dat C...
--> Gnuplot::_allocate_index_oneで以下のようにそろえなおす
index: r_files: plot_files: del_files...
0 _MP.dat _MP.dat M...
1 _EMP_RGB.dat _EMP_RGB.dat E...
2 _EMP_MS.dat _EMP_MS.dat E...
3 _Crich_RGB.dat _Crich_RGB.dat C...
4 _Crich_MS.dat _Crich_MS.dat C...
5 _CEMP_RGB.dat _CEMP_RGB.dat CEMP_RGB.dat C...
6 _CEMP_MS.dat _CEMP_MS.dat C...
-->(この段階で問題なさそうだが)続けて、 [[Crich,RGB -> de...
index: r_files: plot_files: del_files...
0 _MP.dat _MP.dat _Crich_RGB.dat M...
1 _EMP_RGB.dat _EMP_RGB.dat E...
2 _EMP_MS.dat _EMP_MS.dat E...
3 _Crich_RGB.dat _Crich_RGB.dat C...
4 _Crich_MS.dat _Crich_MS.dat C...
5 _CEMP_RGB.dat _CEMP_MS.dat C...
6 _CEMP_MS.dat
--> この段階で、すでに CEMP,RGBの行がないので、indexがplo...
--> plot_filesのindex=legendのindexに対応しているので、pl...
-->まず、このフォームから送信された情報を以下のように(leg...
index: r_files: plot_files: del_files...
0 _MP.dat _MP.dat M...
1 _EMP_RGB.dat _EMP_RGB.dat E...
2 _EMP_MS.dat _EMP_MS.dat E...
3 _Crich_RGB.dat _Crich_RGB.dat _Crich_RGB.dat C...
4 _Crich_MS.dat _Crich_MS.dat C...
5 _CEMP_RGB.dat
6 _CEMP_MS.dat _CEMP_MS.dat C...
--> 続けて、(ユーザーが)次のような操作をした場合
---> [[EMP,MSの plot checkをはずして、:http://astro3.sci....
index: r_files: plot_files: del_files...
0 _MP.dat _MP.dat M...
1 _EMP_RGB.dat _EMP_RGB.dat E...
2 _EMP_MS.dat _Crich_MS.dat E...
3 _Crich_RGB.dat _CEMP_MS.dat Cr...
4 _Crich_MS.dat CE...
5 _CEMP_RGB.dat
6 _CEMP_MS.dat
--> このとき、legendのindexはもう何とも対応していなくなっ...
[対策]:
-?legendを固定してしまう。
-?scrolling -listの-name に-MP, -EMP_RGB,...等の名前を付...
-?del, plot, checkに応じて、legendのindexを1個づつUPする...
--?は機能縮小、?は最終手段(根本的な解決のような気がするが...
[感想] メンドクサイ。。。 月曜朝一作業はテンションが...
____________________________...
書き込んでみる。
- create_heap後alter_heapでtable updateしている。
-\/\/\/\/\/\/\/\/ 071021 \/\/\/\/\/\/\/\/
--》histgramのquick search onにした。
--》XbyY, XplusY がまだうまくいかない。
--》Retrieve_XbyYの段階でQUERY FAILEDになっている。
-\/\/\/\/\/\/\/\/ 071029 \/\/\/\/\/\/\/\/
--★updateしたらhistgramのquick searchがXbyY, XplusYの場合...
--★ロゴマークを考えた。
--★グラフィックソフトを使いこなせない。
--★間違って投票?何回押してもOKなのでは?
-\/\/\/\/\/\/\/\/ 071104 \/\/\/\/\/\/\/\/
-作業:List Optionのcheck boxが働くようにした。
-変更箇所: Gnuplot.pm (#071121)
--check boxに対応する@plot_files(プロットするファイルを格...
--$r_files[$i]が@plot_filesに一致した場合のみプロットさせ...
--変更箇所:Gnuplot.pm(#071104)
-バグレポート
--multi_selectedの場合のプロットができない。
--histogramのwidthで何も指定しなかった場合、いくら待って...
-LOGO
--濃いversionを作ってみた
-\/\/\/\/\/\/\/\/ 071112 \/\/\/\/\/\/\/\/
-multi_plotのプロットを速くした(quick_search)
-\/\/\/\/\/\/\/\/ 071126 \/\/\/\/\/\/\/\/
-作業: List Optionのcheck boxを有効にする(r_file[$i]:$i...
--変更箇所:Gnuplot.pm(#071119, #071121)
--subroutineを作った
--- allocate_index() : $plot_files, $del_filesのindexを$r...
--- allocate_legend_index() : $legend $linetype, $linesiz...
--バグ≫
--- linetypeが delcheck後空欄ができる。
--- 上のsubroutineを1つにまとめる。
@file = ({ "plot" =>1
"legend"=> "MP"
..
}, {}, {}..)
などどする。
--- 前にdelcheckした後、戻るボタンでplotで再びdelcheckが...
-連絡≫12/7(金)に緊急会議が開かれる。
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
___________________________080120_________...
- VistaにCygwinを入れた。
- ヒストグラムの機能を直した。
--[原因] : histogramを選択した場合、_allocate_legend_inde...
プロットコマンドは、
plot "images/cgisess_f1143c963f4bd335965bb4d42cbed4c...
となってしまっていた。
--[解決]: histogramを選択したとき、並べ替え(_allocate_in...
-バグの発見
-- 元素プロットするとき、Y軸を選ばないでプロットした場合...
Y軸が選ばれていないなどの警告を出した方がいいような気がす...
___________________________080128_________...
- 各Pageに飛べるボタンをつけた。
--Pageボタンのupper limitを1000000にもうけた。
---正確なデータ数を取得するには、Search_Modeを実行しなけ...
---このようにupper limitを設けることで、Search_Modeを実行...
---ユーザーがクリックしたPage NumberにHITした段階で、ルー...
-- commit済み。
-[?]:次の段階はボタン表示をGoogle調にするのか?
_______________080303____________________________
[問題]: ファイルアップロード<input type="file">タグがある...
[対策1]:ページ更新切れのページを検索した。
-http://jazzoo.co.jp/blog/index.php?itemid=9
-http://chalow.net/2004-06-07-2.html
-http://community.tabbrowser.jp/forum/viewtopic.php?p=663...
-http://virus.okwave.jp/kotaeru.php3?q=1804781
-http://www.gesource.jp/programming/etc/ie01/index.html
-http://oshiete1.goo.ne.jp/qa3206000.html
-http://oshiete1.goo.ne.jp/qa3234981.html
-http://www.excite.co.jp/search.gw?search=input+type+file...
[結論]:「ファイルフィールド(<input type="file">がある場合...
_______________080316____________________________
[問題]: ファイルアップロード<input type="file">タグがある...
[対策2]: ファイルアップロードフォームへのリンクを張ってそ...
具体的には、ファイルアップロードフォーム(upload.html)は以...
<?xml version="1.0" encoding="Shift_JIS"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; ...
<title>アップロード用フォーム</title>
</head>
<body>
<h1>アップロード用フォーム</h1>
<form action="db.cgi?#plot" method="post" enctype="m...
<input type="file" name="uploaded_file">
<input type="submit" name="button" value="plot" >
<!--<input type="submit" value="送信">-->
</form>
</body>
</html>
[注意点]: upload.htmlでplotをおすと同時にupload.htmlを閉...
[結論]:できない
[理由]:upload.htmlでplotを押すリンク元のページが更新され...
_______________080414____________________________
[作業]:使えそうなjavascriptを作ってみた。
http://astro3.sci.hokudai.ac.jp/~yamada/sample_select_ra...
[説明]:
セレクトメニュー => radioボタンの切り替え or radioボタ...
[アルゴリズム]:
A1 + B1 = 0, A1 + B2 = 1, A2 + B1 = 2, A2 + B2 = 3,
ここで、ラジオグループA(A1, A2), B(B1,B2)であり、和の値は...
A1 A2 B1 B2
A1 × × 0 1
A2 × × 2 3
B1 0 2 × ×
B2 1 3 × ×
これから、
|A1 A2 | = | 0 2|
|B1 B2 | | 0 1|
であることがわかる。
(注)行列の要素は A? + B? の値
今の場合、セレクトメニューのoptionの数=4,の場合(4×4行列)
これを、任意のN×N行列に拡張するようにすれば、使えるのでは?
_______________080518____________________________
[作業]:UpLoad機能の実装
[経過]:List OptionにUpload Filesの表示、および、プロット...
[残りの作業]:List OptionにおけるUpload FilesのLinestyle,...
[名言]:ADSを制する者は宇宙を制する?
_______________080525____________________________
[本日の作業]:upload filesとlinesize,type,styleの対応づけ...
[バグを発見]:Plot OptionのLegendを変更すると表示されなく...
そのときのplotコマンドをみると、title "" pt ps となって...
ので、pointype, pointsizeがカラに設定されているのが原因と...
たぶん、_allocate_indexが問題だと思われる。
[バグの原因]:_allocate_legend_indexのif ($r_files->[$i] ...
の部分が問題。@dum1=@legendで、defaultではr_filesの一部...
my @dum1 = @legend;
my @dum2 = @linetype;
my @dum3 = @linesize;
@legend = ();
@linetype = ();
@linesize = ();
foreach my $i (0..$#{$r_files}){
foreach my $j (0.. $#dum1){
$dum1[$j] =~ s/,/_/;
if ($r_files->[$i] =~ /.+_$dum1[$j]\.dat/){
#$lg->Debug("\$r_files->[$i] : $r_files->[$i] | \$leg...
$dum1[$j] =~ s/_/,/;
$legend[$i] = $dum1[$j];
$linetype[$i] = $dum2[$j];
$linesize[$i] = $dum3[$j];
}
[バグ対策案]:legend,linetype,linesizeのindexを上のように...
foreach my $i(0..$#{$r_files}){
$dummy[$i] = $r_files->[$i] if grep(/$r_files->[...
}
$dummy[$i] = $r_files->[$i] if ($r_files->[$i] = $r_list-...
とかして, @dum_leg = @legend; @legend=(); $legend[$i] = ...
[Next 作業]:上のバグ修正。Upload List Optionのdel, show...
[感想]:日曜作業は自由がないし、精神的にツライ...
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH...
[Freeメモを取ることにした]:
★Gnuplot::Plot->_setup_default()
-linesize,type,styleを最初にsetしている箇所:Gnuplot::Plot...
-my %class = &Classification::Class_Hash();
--my @Class = ("MP", "EMP_RGB", "EMP_MS", "Crich_RGB", "C...
--sub Class_Hash{
my %class;
foreach my $i(0..$#Class){
(my $key = $Class[$i]) =~ s/_/,/;
$class{$key} = $i+1;
}
return %class;
} => @linetypeにuse
--my $class = $self->_obtain_class(\%class, $r_files->[$i...
push(@legend, $class);
- } elsif($plot_option eq 'single_selected'){
my $fm = $self->_get_fm();
my $r_files = $fm->Get_File_Names();
my @plot_files = $self->_load_vars('plot_files');...
my @del_files = $self->_load_vars('del_files');#0...
my $prefix = $self->_get_filepre();
my %class = &Classification::Class_Hash();
for(my $i = 1; $i <= @{$r_files}; $i++){
my $class = $self->_obtain_class(\%class, $r_...
push(@legend, $class); # ex ) $class = "MP"
$lg->Debug("\$legend[$i-1] : $legend[$i-1], \$r_files->[$...
push(@linetype, $class{$class});
push(@linesize, 1);
push(@linestyle, "points");
}
★Gnuplot::List_Option
- %listsize = ('1' => 1, '1.5' => 1.5, '2' => 2, '2.5' =...
- $q->scrolling_list(-name => "linesize",
-values => [key...
-default => $lin...
-size => 1,
-labels => {%li...
)."\n",
★[行番号]
-Gnuplot.pm
--1065 : Gnuplot::List_Option
--1097 : my @listtype = ("1", "2", "3", "4", "5", "6", "7...
--1089 : %listsize = ('1' => 1, '1.5' => 1.5, '2' => 2, '...
終了行:
[[DaGaAr]]
___________________________080922_________...
[作業]:
- List Optionのlegendを変えられるようにした(uploadにはま...
- クリッカブルラベルに天体名+座標値も表示されるようにし...
___________________________080825_________...
[タイトル]:legend hiddenの問題点。Formからの送られ方が、...
--> text -> index保持、 (ウソ)
--> hidden->保持しない
により、indexがずれてくる。text無駄に高機能? (ウソ)
以下にindexの@lenged, @hidden_legendの動向のサンプルを示...
-> all_plot後 =>EMP,RGB del check =>plot後の各変数とindex...
index: r_files: legend(text): hidd...
0 _MP.dat MP MP
1 _EMP_RGB.dat EMP,RGB EMP,RGB <=送ら...
2 _EMP_MS.dat EMP,MS EMP,MS
3 _Crich_RGB.dat Crich,RGB Crich,RGB
4 _Crich_MS.dat Crich,MS Crich,MS
5 _CEMP_RGB.dat CEMP,RGB CEMP,RGB
6 _CEMP_MS.dat CEMP,MS CEMP,MS
-> もう一度プロットを押す
index: r_files: legend(text): hid...
0 _MP.dat MP MP
1 _EMP_RGB.dat EMP,MS
2 _EMP_MS.dat EMP,MS Crich,RGB
3 _Crich_RGB.dat Crich,RGB Crich,MS
4 _Crich_MS.dat Crich,MS CEMP,RGB
5 _CEMP_RGB.dat CEMP,RGB CEMP,MS
6 _CEMP_MS.dat CEMP,MS
-->legend(text)は前のindexを保持しつづけている (ウソ)
が、hidden_legend(hidden)はindexつけなおされている。ので...
[対策案]:
- textボックスのindexが保持されるのなら、hiddenいらない (...
ので、そのままでいいのだろうか?index途中でリセットされる...
- unvisibleなtextとか作れないのか?それをhidden代わりにす...
[間違い]:上記のは、間違いでした。上記のlegendはallocate_...
[実際になにをすればいいか]:実際には、allocate_legend_ind...
[Attention]:基本的な間違い。忘れてる?のが原因か?
___________________________080704_________...
[タイトル]:バグレポート
-[N/O]vs[Fe/H]でサーチすると65天体しかHITしないのはなぜな...
-[Eu/H]vs[Fe/H]プロットでEuのデータがあるCS22892-052天体...
-天体名の情報のページのatomic number横軸の図でscalingした...
-HE1424-0241の天体情報のページがない
___________________________080612_________...
[タイトル]:Upload 機能バグレポート
-Upload Formでファイルupload後、Upload upload filesボタン...
-デフォルトでupload filesがない状態ではUplad機能が機能し...
[タイトル]:今まさにどのファイルがUploadされたかという取...
- ssupload2.cgiで、uploadしたファイル(upfile)をup_upfile...
___________________________080609_________...
[タイトル]:legendが消えるのが問題でして
[内容]:ユーザーがリストオプション操作をし続けることでleg...
[目的] @plot_files, @del_files, @legendのindexを@r_files...
-[ルール]: @r_files, @plot_files, @del_filesのindexの揃...
のラベルで判断している(_allocate_index_one)一方、legendは...
<<legendの動きのテスト>>
- [[CEMP,RGB -> del check:http://astro3.sci.hokudai.ac.j...
index: r_files: plot_files: del_files...
0 _MP.dat _MP.dat CEMP_RGB.dat M...
1 _EMP_RGB.dat _EMP_RGB.dat E...
2 _EMP_MS.dat _EMP_MS.dat E...
3 _Crich_RGB.dat _Crich_RGB.dat C...
4 _Crich_MS.dat _Crich_MS.dat C...
5 _CEMP_RGB.dat _CEMP_RGB.dat C...
6 _CEMP_MS.dat _CEMP_MS.dat C...
--> Gnuplot::_allocate_index_oneで以下のようにそろえなおす
index: r_files: plot_files: del_files...
0 _MP.dat _MP.dat M...
1 _EMP_RGB.dat _EMP_RGB.dat E...
2 _EMP_MS.dat _EMP_MS.dat E...
3 _Crich_RGB.dat _Crich_RGB.dat C...
4 _Crich_MS.dat _Crich_MS.dat C...
5 _CEMP_RGB.dat _CEMP_RGB.dat CEMP_RGB.dat C...
6 _CEMP_MS.dat _CEMP_MS.dat C...
-->(この段階で問題なさそうだが)続けて、 [[Crich,RGB -> de...
index: r_files: plot_files: del_files...
0 _MP.dat _MP.dat _Crich_RGB.dat M...
1 _EMP_RGB.dat _EMP_RGB.dat E...
2 _EMP_MS.dat _EMP_MS.dat E...
3 _Crich_RGB.dat _Crich_RGB.dat C...
4 _Crich_MS.dat _Crich_MS.dat C...
5 _CEMP_RGB.dat _CEMP_MS.dat C...
6 _CEMP_MS.dat
--> この段階で、すでに CEMP,RGBの行がないので、indexがplo...
--> plot_filesのindex=legendのindexに対応しているので、pl...
-->まず、このフォームから送信された情報を以下のように(leg...
index: r_files: plot_files: del_files...
0 _MP.dat _MP.dat M...
1 _EMP_RGB.dat _EMP_RGB.dat E...
2 _EMP_MS.dat _EMP_MS.dat E...
3 _Crich_RGB.dat _Crich_RGB.dat _Crich_RGB.dat C...
4 _Crich_MS.dat _Crich_MS.dat C...
5 _CEMP_RGB.dat
6 _CEMP_MS.dat _CEMP_MS.dat C...
--> 続けて、(ユーザーが)次のような操作をした場合
---> [[EMP,MSの plot checkをはずして、:http://astro3.sci....
index: r_files: plot_files: del_files...
0 _MP.dat _MP.dat M...
1 _EMP_RGB.dat _EMP_RGB.dat E...
2 _EMP_MS.dat _Crich_MS.dat E...
3 _Crich_RGB.dat _CEMP_MS.dat Cr...
4 _Crich_MS.dat CE...
5 _CEMP_RGB.dat
6 _CEMP_MS.dat
--> このとき、legendのindexはもう何とも対応していなくなっ...
[対策]:
-?legendを固定してしまう。
-?scrolling -listの-name に-MP, -EMP_RGB,...等の名前を付...
-?del, plot, checkに応じて、legendのindexを1個づつUPする...
--?は機能縮小、?は最終手段(根本的な解決のような気がするが...
[感想] メンドクサイ。。。 月曜朝一作業はテンションが...
____________________________...
書き込んでみる。
- create_heap後alter_heapでtable updateしている。
-\/\/\/\/\/\/\/\/ 071021 \/\/\/\/\/\/\/\/
--》histgramのquick search onにした。
--》XbyY, XplusY がまだうまくいかない。
--》Retrieve_XbyYの段階でQUERY FAILEDになっている。
-\/\/\/\/\/\/\/\/ 071029 \/\/\/\/\/\/\/\/
--★updateしたらhistgramのquick searchがXbyY, XplusYの場合...
--★ロゴマークを考えた。
--★グラフィックソフトを使いこなせない。
--★間違って投票?何回押してもOKなのでは?
-\/\/\/\/\/\/\/\/ 071104 \/\/\/\/\/\/\/\/
-作業:List Optionのcheck boxが働くようにした。
-変更箇所: Gnuplot.pm (#071121)
--check boxに対応する@plot_files(プロットするファイルを格...
--$r_files[$i]が@plot_filesに一致した場合のみプロットさせ...
--変更箇所:Gnuplot.pm(#071104)
-バグレポート
--multi_selectedの場合のプロットができない。
--histogramのwidthで何も指定しなかった場合、いくら待って...
-LOGO
--濃いversionを作ってみた
-\/\/\/\/\/\/\/\/ 071112 \/\/\/\/\/\/\/\/
-multi_plotのプロットを速くした(quick_search)
-\/\/\/\/\/\/\/\/ 071126 \/\/\/\/\/\/\/\/
-作業: List Optionのcheck boxを有効にする(r_file[$i]:$i...
--変更箇所:Gnuplot.pm(#071119, #071121)
--subroutineを作った
--- allocate_index() : $plot_files, $del_filesのindexを$r...
--- allocate_legend_index() : $legend $linetype, $linesiz...
--バグ≫
--- linetypeが delcheck後空欄ができる。
--- 上のsubroutineを1つにまとめる。
@file = ({ "plot" =>1
"legend"=> "MP"
..
}, {}, {}..)
などどする。
--- 前にdelcheckした後、戻るボタンでplotで再びdelcheckが...
-連絡≫12/7(金)に緊急会議が開かれる。
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
___________________________080120_________...
- VistaにCygwinを入れた。
- ヒストグラムの機能を直した。
--[原因] : histogramを選択した場合、_allocate_legend_inde...
プロットコマンドは、
plot "images/cgisess_f1143c963f4bd335965bb4d42cbed4c...
となってしまっていた。
--[解決]: histogramを選択したとき、並べ替え(_allocate_in...
-バグの発見
-- 元素プロットするとき、Y軸を選ばないでプロットした場合...
Y軸が選ばれていないなどの警告を出した方がいいような気がす...
___________________________080128_________...
- 各Pageに飛べるボタンをつけた。
--Pageボタンのupper limitを1000000にもうけた。
---正確なデータ数を取得するには、Search_Modeを実行しなけ...
---このようにupper limitを設けることで、Search_Modeを実行...
---ユーザーがクリックしたPage NumberにHITした段階で、ルー...
-- commit済み。
-[?]:次の段階はボタン表示をGoogle調にするのか?
_______________080303____________________________
[問題]: ファイルアップロード<input type="file">タグがある...
[対策1]:ページ更新切れのページを検索した。
-http://jazzoo.co.jp/blog/index.php?itemid=9
-http://chalow.net/2004-06-07-2.html
-http://community.tabbrowser.jp/forum/viewtopic.php?p=663...
-http://virus.okwave.jp/kotaeru.php3?q=1804781
-http://www.gesource.jp/programming/etc/ie01/index.html
-http://oshiete1.goo.ne.jp/qa3206000.html
-http://oshiete1.goo.ne.jp/qa3234981.html
-http://www.excite.co.jp/search.gw?search=input+type+file...
[結論]:「ファイルフィールド(<input type="file">がある場合...
_______________080316____________________________
[問題]: ファイルアップロード<input type="file">タグがある...
[対策2]: ファイルアップロードフォームへのリンクを張ってそ...
具体的には、ファイルアップロードフォーム(upload.html)は以...
<?xml version="1.0" encoding="Shift_JIS"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; ...
<title>アップロード用フォーム</title>
</head>
<body>
<h1>アップロード用フォーム</h1>
<form action="db.cgi?#plot" method="post" enctype="m...
<input type="file" name="uploaded_file">
<input type="submit" name="button" value="plot" >
<!--<input type="submit" value="送信">-->
</form>
</body>
</html>
[注意点]: upload.htmlでplotをおすと同時にupload.htmlを閉...
[結論]:できない
[理由]:upload.htmlでplotを押すリンク元のページが更新され...
_______________080414____________________________
[作業]:使えそうなjavascriptを作ってみた。
http://astro3.sci.hokudai.ac.jp/~yamada/sample_select_ra...
[説明]:
セレクトメニュー => radioボタンの切り替え or radioボタ...
[アルゴリズム]:
A1 + B1 = 0, A1 + B2 = 1, A2 + B1 = 2, A2 + B2 = 3,
ここで、ラジオグループA(A1, A2), B(B1,B2)であり、和の値は...
A1 A2 B1 B2
A1 × × 0 1
A2 × × 2 3
B1 0 2 × ×
B2 1 3 × ×
これから、
|A1 A2 | = | 0 2|
|B1 B2 | | 0 1|
であることがわかる。
(注)行列の要素は A? + B? の値
今の場合、セレクトメニューのoptionの数=4,の場合(4×4行列)
これを、任意のN×N行列に拡張するようにすれば、使えるのでは?
_______________080518____________________________
[作業]:UpLoad機能の実装
[経過]:List OptionにUpload Filesの表示、および、プロット...
[残りの作業]:List OptionにおけるUpload FilesのLinestyle,...
[名言]:ADSを制する者は宇宙を制する?
_______________080525____________________________
[本日の作業]:upload filesとlinesize,type,styleの対応づけ...
[バグを発見]:Plot OptionのLegendを変更すると表示されなく...
そのときのplotコマンドをみると、title "" pt ps となって...
ので、pointype, pointsizeがカラに設定されているのが原因と...
たぶん、_allocate_indexが問題だと思われる。
[バグの原因]:_allocate_legend_indexのif ($r_files->[$i] ...
の部分が問題。@dum1=@legendで、defaultではr_filesの一部...
my @dum1 = @legend;
my @dum2 = @linetype;
my @dum3 = @linesize;
@legend = ();
@linetype = ();
@linesize = ();
foreach my $i (0..$#{$r_files}){
foreach my $j (0.. $#dum1){
$dum1[$j] =~ s/,/_/;
if ($r_files->[$i] =~ /.+_$dum1[$j]\.dat/){
#$lg->Debug("\$r_files->[$i] : $r_files->[$i] | \$leg...
$dum1[$j] =~ s/_/,/;
$legend[$i] = $dum1[$j];
$linetype[$i] = $dum2[$j];
$linesize[$i] = $dum3[$j];
}
[バグ対策案]:legend,linetype,linesizeのindexを上のように...
foreach my $i(0..$#{$r_files}){
$dummy[$i] = $r_files->[$i] if grep(/$r_files->[...
}
$dummy[$i] = $r_files->[$i] if ($r_files->[$i] = $r_list-...
とかして, @dum_leg = @legend; @legend=(); $legend[$i] = ...
[Next 作業]:上のバグ修正。Upload List Optionのdel, show...
[感想]:日曜作業は自由がないし、精神的にツライ...
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH...
[Freeメモを取ることにした]:
★Gnuplot::Plot->_setup_default()
-linesize,type,styleを最初にsetしている箇所:Gnuplot::Plot...
-my %class = &Classification::Class_Hash();
--my @Class = ("MP", "EMP_RGB", "EMP_MS", "Crich_RGB", "C...
--sub Class_Hash{
my %class;
foreach my $i(0..$#Class){
(my $key = $Class[$i]) =~ s/_/,/;
$class{$key} = $i+1;
}
return %class;
} => @linetypeにuse
--my $class = $self->_obtain_class(\%class, $r_files->[$i...
push(@legend, $class);
- } elsif($plot_option eq 'single_selected'){
my $fm = $self->_get_fm();
my $r_files = $fm->Get_File_Names();
my @plot_files = $self->_load_vars('plot_files');...
my @del_files = $self->_load_vars('del_files');#0...
my $prefix = $self->_get_filepre();
my %class = &Classification::Class_Hash();
for(my $i = 1; $i <= @{$r_files}; $i++){
my $class = $self->_obtain_class(\%class, $r_...
push(@legend, $class); # ex ) $class = "MP"
$lg->Debug("\$legend[$i-1] : $legend[$i-1], \$r_files->[$...
push(@linetype, $class{$class});
push(@linesize, 1);
push(@linestyle, "points");
}
★Gnuplot::List_Option
- %listsize = ('1' => 1, '1.5' => 1.5, '2' => 2, '2.5' =...
- $q->scrolling_list(-name => "linesize",
-values => [key...
-default => $lin...
-size => 1,
-labels => {%li...
)."\n",
★[行番号]
-Gnuplot.pm
--1065 : Gnuplot::List_Option
--1097 : my @listtype = ("1", "2", "3", "4", "5", "6", "7...
--1089 : %listsize = ('1' => 1, '1.5' => 1.5, '2' => 2, '...
ページ名: