"Flipping" axes, 2D plot

"Flipping" axes, 2D plot - graphing - Сообщения

#1 Опубликовано: 01.04.2019 00:40:56
rodp1

rodp1

0 сообщений из 8 понравились пользователям.

Группа: User

Hi all,

New user, so learning my way around. I haven't been able to find a way to do the follow.

What I would like to do is plot a function where the abscissa is shown on the vertical axis, and the ordinate on the horizontal axis. The function shows wind speed as a function of height, so it's more natural to plot the height values vertically.

Thanks!
#2 Опубликовано: 01.04.2019 01:33:32
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

Hi Rod. I guess that the easy way is: (1) discretize the domain, (2) vectorize the co-domain and finally (3) plot augmenting in the "reverse" order.

plot.gif

PLOT.sm (4 КиБ) скачан 37 раз(а).

Best regards.
Alvaro.
#3 Опубликовано: 01.04.2019 01:50:45
rodp1

rodp1

0 сообщений из 8 понравились пользователям.

Группа: User

Wrote

Hi Rod. I guess that the easy way is: (1) discretize the domain, (2) vectorize the co-domain and finally (3) plot augmenting in the "reverse" order.



Thanks. That's exactly what I needed. I don't think I would have ever guessed that sequence of commands.
#4 Опубликовано: 01.04.2019 09:21:48
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

The function shows wind speed as a function of height


That is no problem as you have it exemplified already.
Now, if you measure the wind speed and want to know the height
the problem is inversing the function. That is a much different story.
Many functions have an inverse from maple, but generally not.
It is always possible from other solvers in discrete mode,
then re-fit best by a model function or simply interpolate.
Attach your wind speed function or the data set.
A technical example of what I'm trying to explain is the temperature
measurement with the Platinum thermometer. BIPM gives resistance vs
temperature. But you measure resistance, then the problem is to read °C.
Wind speed is very local, that's why you may just have data.
Please, feel comfortable in Smath Community, plenty of "cats in the hat"

Cheers ... Jean

rodp1.sm (22 КиБ) скачан 36 раз(а).

#5 Опубликовано: 01.04.2019 10:16:43
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

Wind speed is very local, that's why you may just have data.


The Windmill project was done Mathcad 11 [W vs speed].
Here is an image to download ... being converted Smath
Expect today Smath document. Observe the function inverse.

Eol.bmp
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений