| 2 | 1/1 | 返回列表 |
| 查看: 542 | 回復(fù): 1 | |||
gorgousz新蟲 (初入文壇)
|
[求助]
求助Matlab的GUI問題 已有1人參與
|
|
大家好, 求大神指教個(gè)問題:為啥我用matlab直接計(jì)算,以下程序可以畫出來兩張圖,每張圖有很多條曲線。即每個(gè)步長會(huì)出現(xiàn)一條曲線。 但是,當(dāng)我用GUI時(shí),就只顯示一條曲線,看上去上一個(gè)步長的線會(huì)被新的線取代。 if rem(j,Nplot)==0 % plotting routine: two cases tag_data = tag_data + 1; if size(U)==size(X)% means that grid is still moving figure(9), plot(handles.axes2,X(:,j+1),U(:,j+1),'r',X(:,j+1),C3Ar(:,j+1),'b:'); hold on; figure (10), plot(handles.axes1,X(:,end),Epsv(end,:,j-1),'b'); hold on; else % take in account fact that grid is fixed at S=N+1, % thus X is not updated anymore from this time on. figure (9), plot(handles.axes2,X(:,end),U(:,j+1),'r',X(:,end),C3Ar(:,j+1),'b:'); hold on; %plot(handles.axes2,X(:,end),U(:,j+1),'r',X(:,end),C3Ar(:,j+1),'b:'),hold on; figure (10), plot(handles.axes1,X(:,end),Epsv(end,:,j-1),'b'); hold on; end hold on; end % end test for plotting routine 十分感謝您的幫助! |
專家顧問 (職業(yè)作家)
![]() |
專家經(jīng)驗(yàn): +362 |

| 2 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 求調(diào)劑,一志愿:南京航空航天大學(xué)大學(xué) ,080500材料科學(xué)與工程學(xué)碩,總分289分 +4 | @taotao 2026-03-19 | 4/200 |
|
|---|---|---|---|---|
|
[考研] 085600材料與化工 +8 | 安全上岸! 2026-03-16 | 8/400 |
|
|
[考研] 一志愿南昌大學(xué),327分,材料與化工085600 +8 | Ncdx123456 2026-03-19 | 8/400 |
|
|
[考研] 求調(diào)劑一志愿南京航空航天大學(xué)289分 +3 | @taotao 2026-03-19 | 3/150 |
|
|
[考研] A區(qū)線材料學(xué)調(diào)劑 +5 | 周周無極 2026-03-20 | 5/250 |
|
|
[考研] 招收調(diào)劑碩士 +4 | lidianxing 2026-03-19 | 12/600 |
|
|
[考研] 286求調(diào)劑 +6 | lemonzzn 2026-03-16 | 10/500 |
|
|
[考研] 328求調(diào)劑,英語六級(jí)551,有科研經(jīng)歷 +4 | 生物工程調(diào)劑 2026-03-16 | 12/600 |
|
|
[考研] 一志愿武理材料305分求調(diào)劑 +5 | 想上岸的鯉魚 2026-03-18 | 6/300 |
|
|
[考研] 295求調(diào)劑 +3 | 一志愿京區(qū)211 2026-03-18 | 5/250 |
|
|
[考研] 08工科 320總分 求調(diào)劑 +5 | 梨花珞晚風(fēng) 2026-03-17 | 5/250 |
|
|
[考研] 280求調(diào)劑 +6 | 咕嚕曉曉 2026-03-18 | 7/350 |
|
|
[考研] 0703化學(xué)調(diào)劑 +3 | 妮妮ninicgb 2026-03-17 | 3/150 |
|
|
[考研] 301求調(diào)劑 +9 | yy要上岸呀 2026-03-17 | 9/450 |
|
|
[考研] 293求調(diào)劑 +11 | zjl的號(hào) 2026-03-16 | 16/800 |
|
|
[考研] 有沒有道鐵/土木的想調(diào)劑南林,給自己招師弟中~ +3 | TqlXswl 2026-03-16 | 7/350 |
|
|
[考研] 304求調(diào)劑 +3 | 曼殊2266 2026-03-14 | 3/150 |
|
|
[考研] 327求調(diào)劑 +6 | 拾光任染 2026-03-15 | 11/550 |
|
|
[考研] 本科南京大學(xué)一志愿川大藥學(xué)327 +3 | 麥田耕者 2026-03-14 | 3/150 |
|
|
[考研] 一志愿哈工大材料324分求調(diào)劑 +5 | 閆旭東 2026-03-14 | 5/250 |
|