09-26-2008 08:24 AM
Hi
kennt einer eine loesung wie ich einen 3d plot beschleunige, ich moechte eine matrix mit 66x640 pixel darstelle, da tut sic der plot schon sehr schwer. Ein Loesung ware evtl. das ganze 2D darzustellen mit einer farbcodierung welche hohe der einzelne pixel hat.. rot fuer sehr hoch usw.
gibt es da schon ein fertiges vi, wo ich meine 3d matrix in einen 2d plot umwandeln kann mit farcodierung?
THZ
09-26-2008 08:47 AM
Versuch mal den Intensity Graph (dies ist ein 2D plot mit Farbcodierung).
Du musst dann eventuell noch die x- und y-Achsen skalieren und die Farbskala definieren.
09-26-2008 11:39 AM
The intensity graph should be quite simple. Starting with my old example (and removing all the summation code) looks pretty good.
(original post). You simply need to ensure that the interpolation in Y and Z is smooth.
Of course you could also built everything from scratch in a picture indicator.
I don't understand why you have performance problems. Can you show us how you use the 3D plot? What is your LabVIEW version?
09-30-2008 03:50 AM
hi thank you for the answer.
I use at the moment an 3d plot, this is realy a 3d picture like in the " 3D Lorenz.." vi-example. but this use too mauch power for the pc, by a matrix of 320x640.
so i want to change to the itensity Map as you propose.
I have X and Y coordinates with an z-value so i can do this with colour plots.
but by the intensity map i can't change the matrix size???
09-30-2008 03:54 AM
commander wrote:but by the intensity map i can't change the matrix size???
Of course you can! What do you think prevents you from changing the array size???
09-30-2008 04:01 AM
I don't know how your matrix looks like. For the intensity graph you need a 2D array of z values.
For the x- and y-axis, you'll have to set the scales using property nodes (offset & multiplier).
Of course this will only work for evenly distributed data.
09-30-2008 04:10 AM
ok, for the intensity map i have a fix x-y-scale and a variable z-scale, right?
so i have a 320x640 pixel matrix, thats meens 320 rows and 640 colums and now i want to give each pixel an value of maby intensity.
09-30-2008 04:15 AM
No, the x and y scales are not fixed. You can set the scales using property nodes (offset & multiplier).
Your matrix just contains z (=intensity) values.
09-30-2008 04:46 AM
I think that is exact what i need, because i have only a file with z-values and now i have to build up the matrix for this z-values. meens the first z-value in this file for the first x-y coordinate and the second z-value in this file for the second x-ccordinate and the first y-coordinate ..until the row is full and than the second y-coordinate starts...
so i have a fix matrix and i want to fill the coordinates with this z values.
but i don't know how i can do this 😞
09-30-2008 04:53 AM
Where's the problem exactly?
Just build a 2D-array with the z values and wire it to the intensity graph.
Or post your code so we can see where the problem is.