ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Henon map

Solved!
Go to solution

hello all, 

 

I am trying to create a Henon map illustration on labview but i have some errors. the vi is attached. i hope someone helps

 

Thanks

0 Kudos
Message 1 of 9
(4,370 Views)

Your data is 2D, so why are you trying to use a 3D graph? Try an xy graph instead.

0 Kudos
Message 2 of 9
(4,366 Views)

i want to use the comet drawing. and the XY is not working 

0 Kudos
Message 3 of 9
(4,364 Views)

@mah11 wrote:

i want to use the comet drawing.


Then create an array of equal lenght with all zeroes and wire it to the z input.


@mah11 wrote:

 and the XY is not working 


Define "not working" (broke wiren, wrong display, computer bursts into flames, etc.) . Seems to work just fine here.

 

 

Using mathscript instead of matlab.

0 Kudos
Message 4 of 9
(4,359 Views)

it is working now after adding the zeros for z, but can i slow it downn ?

0 Kudos
Message 5 of 9
(4,350 Views)

oh thats great !!

 

Thanks Man !

0 Kudos
Message 6 of 9
(4,347 Views)

typically people want code to go faster. 😄

 

The way you are graphing it, is all points at once!

 

If you want to animate the graph, showing more and more points, place the graph inside a FOR loop with a small wait and use longer and longer subsets for each of the three arrays.

0 Kudos
Message 7 of 9
(4,340 Views)

i am getting this graph how to change it to look like yours ?

0 Kudos
Message 8 of 9
(4,332 Views)
Solution
Accepted by mah11

@mah11 wrote:

i am getting this graph how to change it to look like yours ?


Change the plot style to points (click on the legend in the upper right corner and change the point style and interpolation).

 

Of course a "real" LabVIEW programmer would do it as follows. Much simpler! 😄 (note that I initialze with 1,0 to eliminate the points at 0,0 and 1,0)

 

Also see the attached VI (LabVIEW 2013).

 

 

 

Download All
0 Kudos
Message 9 of 9
(4,313 Views)