[問題] 用Loop畫圖~有幾張會不見??已回收

看板MATLAB作者時間16年前 (2009/06/18 11:08), 編輯推噓2(202)
留言4則, 3人參與, 最新討論串1/1
我用loop畫圖..1張1張畫~都有圖 一次畫~就少掉3條應該畫出來的線~"~ 一整個很詭異..我ㄧ共是要畫10條線 我畫tinit 0.5~0.9..OK~..0~0.9就少掉3條@@" 有夠奇怪~能請大大幫忙看看嗎??~thx ================================== filenow = deblank(files(i,:)); loadpath=['percentage average\Average\' filenow]; D=load(loadpath); D_t=D(:,1); D_h=D(:,2); D_e=D(:,3); figure for tinit=0:0.1:0.9 idx=find(tinit==D_t); D_hfill=D_h(idx); D_efill=D_e(idx); colornum=tinit*10+1; plot(D_efill,D_hfill,'LineWidth',1.5); hold on end ※ 編輯: sweetdance 來自: 140.116.45.96 (06/18 11:10)

06/18 15:58, , 1F
會不會是被蓋掉?
06/18 15:58, 1F

06/18 17:09, , 2F
hold on?
06/18 17:09, 2F

06/18 17:09, , 3F
喔沒看到後面有加了抱歉
06/18 17:09, 3F

06/19 12:50, , 4F
PAUSE
06/19 12:50, 4F
文章代碼(AID): #1AEQ-wKl (MATLAB)
文章代碼(AID): #1AEQ-wKl (MATLAB)