Skip to main content
1-Visitor
September 18, 2014
Solved

2D plot of f(y) possible?

  • September 18, 2014
  • 3 replies
  • 1373 views

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

Best answer by StuartBruff

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
September 18, 2014

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.

1-Visitor
September 18, 2014

Thank you Stuart, worked just fine!

23-Emerald V
September 18, 2014

Ingen orsak. 🙂