cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

2D plot of f(y) possible?

ptc-6644390
1-Visitor

2D plot of f(y) possible?

Hi,

Is there any way of plotting a function with the variable on the y-axis and the function on the x-axis, instead of the "normal" way?

In the appended example, the "rotated" plot only plots the first ~10 m or so, then it seems to stop.

Thanks in advance

ACCEPTED SOLUTION

Accepted Solutions
StuartBruff
23-Emerald III
(To:ptc-6644390)

Setting h to 500 in the y-x plot only sets the vertical scale of the plot, unlike in the x-y case where it sets the range of h values as well.

To get what you want, simply declare a range variable h:=0,1..500 before the plot.

View solution in original post

3 REPLIES 3
StuartBruff
23-Emerald III
(To:ptc-6644390)

Setting h to 500 in the y-x plot only sets the vertical scale of the plot, unlike in the x-y case where it sets the range of h values as well.

To get what you want, simply declare a range variable h:=0,1..500 before the plot.

Thank you Stuart, worked just fine!

StuartBruff
23-Emerald III
(To:ptc-6644390)

Ingen orsak. 🙂

Announcements

Top Tags