Skip to main content
1-Visitor
Sep 18, 2014 11:20 AM UTC
Solved

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

23-Emerald V
Sep 18, 2014 11:41 AM UTC

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.

3 replies

23-Emerald V
Sep 18, 2014 11:41 AM UTC

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.

Translate
1-Visitor
Sep 18, 2014 12:30 PM UTC

Thank you Stuart, worked just fine!

Translate
23-Emerald V
Sep 18, 2014 4:40 PM UTC

Ingen orsak. 🙂

Translate