作者tengyuan (tengyuan)
看板Mathematica
標題[問題] 二維圖形x.y軸對調
時間Fri Apr 12 14:01:22 2013
小弟我所畫的函數有點複雜,如下
sqrt[a-b*y^2]
x = ------------------------------------------------------
y^2 y^2
c*arctan[sqrt[---------]] +arctan[sqrt[---------- ]]
d-e*y^2 d-e*y^2
a,b,c,d,e 均為常數
Plot[x,{y,1.5,1.58}],這樣畫出來的圖是橫軸是y,縱軸是x
有辦法直接對調x跟y嗎?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.117.32.54
→ caseypie:x[y_] = 你的函數,Plot[y,x[y]] 04/12 19:27
推 tml:ParametricPlot[{x,y},{y,1.5,1.58}] 04/12 21:54
→ tengyuan:感謝大大!! 04/18 02:59