How can I make a axis with 3D array?
Show older comments
I have two velocity arrays (lon x lat) and I need to save it in X-axis and Y-axis. Consider u e v as vectors decompositions of velocity.
How can I do that?
Thanks for any help!
9 Comments
Walter Roberson
on 17 Jun 2018
Is your data complex-valued? For any particular wind position wind(J,K) then how do you calculate the u and v values?
dpb
on 17 Jun 2018
As always, far better to attach some sample data rather than try to describe in words. Then, as Walter says, show us from that a specific set of inputs/desired outputs and how the latter is obtained from the former if not totally trivially obvious.
Miriã Gollmann
on 17 Jun 2018
Walter Roberson
on 17 Jun 2018
Is uv complex valued? If not, then how do you get from the uv variable to separate u and v ?
"one must create velocity maps, with the 'mesh' command,"
That is difficult to do, as I indicated in your other post. Please post an image of what you would expect the mesh to look like.
It would probably make more sense to use quiver() or quiver3()
Miriã Gollmann
on 17 Jun 2018
dpb
on 17 Jun 2018
I reiterate; you'd make it a lot simpler if you would just attach a .mat file with representative sample of the data...
And the image isn't; you have go thru two-step process of selecting the file and then "insert image"; just selecting the file isn't enough for some unbeknownst reason... :(
Walter Roberson
on 17 Jun 2018
That is not a velocity map: velocity is a vector. That might be a speed map, but not a velocity map.
Miriã Gollmann
on 17 Jun 2018
Answers (0)
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!