LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

plot langsam

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 

0 Kudos
Message 1 of 19
(4,151 Views)

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.

 

Message 2 of 19
(4,146 Views)

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?

 

 

Message 3 of 19
(4,121 Views)

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??? 

0 Kudos
Message 4 of 19
(4,096 Views)

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???

Message 5 of 19
(4,092 Views)

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.

 

0 Kudos
Message 6 of 19
(4,087 Views)

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. 

0 Kudos
Message 7 of 19
(4,085 Views)

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.

 

0 Kudos
Message 8 of 19
(4,081 Views)

  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 😞 

0 Kudos
Message 9 of 19
(4,074 Views)

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.

 

0 Kudos
Message 10 of 19
(4,069 Views)