05-07-2015 03:32 PM
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
Solved! Go to Solution.
05-07-2015 03:47 PM
Your data is 2D, so why are you trying to use a 3D graph? Try an xy graph instead.
05-07-2015 03:48 PM
i want to use the comet drawing. and the XY is not working
05-07-2015 03:57 PM - edited 05-07-2015 10:11 PM
@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.
05-07-2015 04:04 PM
it is working now after adding the zeros for z, but can i slow it downn ?
05-07-2015 04:05 PM
oh thats great !!
Thanks Man !
05-07-2015 04:07 PM
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.
05-07-2015 04:15 PM
i am getting this graph how to change it to look like yours ?
05-07-2015 04:27 PM - edited 05-07-2015 05:56 PM
@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).