LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graphing Techniques

Solved!
Go to solution

Hello, I would like my data to be inverted but my X-axis to stay the same.  When I use inverting button in properties it inverts both.  Any ideas?  I'm using LabVIEW 2009.  and I am plotting with a waveform graph. 

 

Thanks!

0 Kudos
Message 1 of 8
(3,558 Views)

I don't see this behavior with LV2009.  I can invert the individual axes.  What you can try is inverting by hand, just type the value of the opposite marker into the x scale and it will automatically invert.  For example, if the x markers run from 0 to 10 and you double click the 0 and enter 10, the scale will invert.

 

Hard to believe there are 41 other Sobe drinkers who got here first.  I happen to be sipping one now, so am I 43?

Message 2 of 8
(3,550 Views)

I tried doing it manually and it just inverts the graph back it its original position.  I'm am using property Nodes to define the axis and scale.  Attached is the file.

 

as for sobedrinker42, I was listening to band sum 41 when I made it and added one.  I was also drinking a sobe

0 Kudos
Message 3 of 8
(3,539 Views)
I am going to need a stiffer drink than my Sobe to wade through that VI, I'll have to get back to you.  Any chance you can strip it down (and some subVIs were missing anyway).
0 Kudos
Message 4 of 8
(3,535 Views)

pretty much the only part of the code that i'm worried about is where the amplitude sweep graph is.  It takes data from the peak to peak array and plots it.  This VI is used to control a programmable stepper motor controller and take data from an outside source.  the start property node is where the linear stage starts, the length is how long the stage is, and the index is the distance between each data point.

 

thanks for your help!!

0 Kudos
Message 5 of 8
(3,529 Views)

I extracted the relevant parts to the Amplitude Sweep Graph but was still unable to reproduce the behavior.  It seemed to work as I would expect and I could invert either axis at will.  What are your usual values for start, index and length when you run?

 

 

Message 6 of 8
(3,481 Views)

the axis invert as were saying, however, I need the graph to invert and NOT the axis.  The way the graph is right now, the first point keeps on getting shifted left to a greater position.  I want the graph to be set up where the first point is at 0 and the last point at 240, not the other way around.  Any ideas?

 

Thanks again!

0 Kudos
Message 7 of 8
(3,458 Views)
Solution
Accepted by topic author sobedrinker42

hey, I figured out what my problem was.  When I was using the bundle block, all I had to was invert my index. 

 

Thanks for your help!

0 Kudos
Message 8 of 8
(3,453 Views)