03-19-2016 12:51 PM
Can someone tell me how to reshape 3 1D arrays to one 2D array that contains the z matrix for a3D plot?
03-21-2016 04:48 PM
Hi Ziedhosni,
What do those 1D arrays represent? The x, y, and z arrays? If those 3 1D arrays are just your x, y, and z values then you will just need to use the 3D curve.vi as suggested previously. If they are not can you clairfy what those arrays represent?
hfar2
03-23-2016 07:22 AM
Hello,
I tried to use the 3D curve.vi as attached to this text. I can see the 5 concaces plots but unfortunately it is less beautiful and messier than the 3D mesh that requires the z matrix instead of the z vector.
My objective is to merge a coloured surface made of ( x,y,z) (varying from the blue to red according to the value of z) with a number of points in black that I can distinguish from the surface. Do you think it is posible to merge the mesh 3D with the 3D stem.vi for example?
Thanks,
03-23-2016 03:45 PM
And what you want to get?
Surface or points on "column"?
You have 1000 points in arrays. Do you really think that you'll see anything on the "stem" plot?
Try "Basic Properties VI" for dots.
Or maybe you want enveloping surface for set of points?
03-24-2016 05:56 AM
I would like to get ideally a surface that is half transparant andthat is coloured from the blue to the red and in addition to the suface some points are marked on this surface or out side of it that can be bold and black to distinguish them from the surface.
You are right that the way of adding 1000 points will make the graph very complicated but unfortunately the mesh and the surface vi didn't work for me as they need those z matrix that I failed to generate from 3 arrays of 1D (x,y,z) that are not integers.
Thanks,
Zied
03-24-2016 06:11 AM
If you wish to get surface, you should understand it form.
And should have 2d array of points.
Instead of that you are trying to draw "heap" of points.
Do you have equation of surface?
03-24-2016 07:22 AM
Yes I have the equation. It is z=x^2+y^2
I would like to draw this surface and I would like to add some discrete points to the 3D space to see if they are included in the surface or far from it and how much far.
Thanks,
Zied
03-24-2016 11:56 AM
And what's the problem?
05-25-2016 02:06 AM
Здравствуйте)
Подскажите, как у вас получился такой график? Мне нужно совместить два 3D графика, в идеале на Stem 3D. С одним Stem все супер, но для совмещения все рекомендуют использовать set_plots.vi, но ссылка с Stem 3D туда не подходит. Я сделал совмещение графика с точками, но мне уж очень надо вид как на гистограмме.
05-25-2016 03:53 AM
Show your code and describe what you need