[繪圖] 請教刻度問題已回收

看板MATLAB作者 (chicken brother)時間14年前 (2011/05/26 14:56), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
各位大大日安: 小弟想用matlab畫拋物線,我知道只要方程式有就很簡單, clear t=-3:0.1:3; for ind=1:length(t) y=t(ind)^2; end axis('equal'); pause plot(t,y) 可是我想要水平軸和垂直軸單位長都為1公分,有辦法做這種設定嗎??? 感謝各位大大的閱讀m(_ _)m -- 呂哈絲 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.116.71.204

05/28 21:32, , 1F
set( gca, 'xtick', 0:1:3); set( gca, 'ytick', 0:1:9);
05/28 21:32, 1F
文章代碼(AID): #1DtVcdJV (MATLAB)