Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline rodp1  
#1 Posted : 01 April 2019 06:40:56(UTC)
rodp1

Rank: Newbie

Groups: Registered
Joined: 01/04/2019(UTC)
Posts: 8
Australia
Location: Perth

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!

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Razonar  
#2 Posted : 01 April 2019 07:33:32(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
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 (5kb) downloaded 21 time(s).

Best regards.
Alvaro.
Offline rodp1  
#3 Posted : 01 April 2019 07:50:45(UTC)
rodp1

Rank: Newbie

Groups: Registered
Joined: 01/04/2019(UTC)
Posts: 8
Australia
Location: Perth

Originally Posted by: Razonar Go to Quoted Post
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.

Edited by user 01 April 2019 09:03:25(UTC)  | Reason: Not specified

Offline Jean Giraud  
#4 Posted : 01 April 2019 15:21:48(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: rodp1 Go to Quoted Post
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 (23kb) downloaded 15 time(s).

Offline Jean Giraud  
#5 Posted : 01 April 2019 16:16:43(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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 (1,474kb) downloaded 11 time(s).
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.