From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY Graph over Intensity Graph

I'd like to plot an XY Graph on an existing Intensity Graph. I mean I
want them in the same chart.
How can I do with LV6i?
0 Kudos
Message 1 of 6
(2,773 Views)
Hi Zen,

I managed to do what you ask: I simply forced the BG color of the XY graph to transparent, removed scales and placed it above the intensity chart, it works!
See the vi attached.

Good luck,

Alberto

P.S. you should move the intensity graph to back respect the XY graph.
0 Kudos
Message 2 of 6
(2,773 Views)
>    I'd like to plot an XY Graph on an existing Intensity Graph. I mean I
> want them in the same chart.
> How can I do with LV6i?
>

The graphs are either an XY or an intensity graph and you cannot plot
both on one. You can overlap them, placing the XY graph on top and
making the XY graph transparent using the paintbrush -- the coloring
tool. Color the gray frame around the plot as well as the black
rectangle. You may also want to popup on the graph and hide the scales
on one or the other. Once you have them arranged and sized the way you
want, you may want to select both of them and group them to make it
easier to deal with them in the editor.

Greg McKaskle
0 Kudos
Message 3 of 6
(2,773 Views)
Greg McKaskle a ecrit :
> rectangle. You may also want to popup on the graph and hide the scales
> on one or the other.


Programmatically changing scale of an XY graph (X0, DeltaX, ..) seems to
be bugged. Even when I set autoscaling, the range is totally wrong.
0 Kudos
Message 4 of 6
(2,773 Views)
> Programmatically changing scale of an XY graph (X0, DeltaX, ..) seems to
> be bugged. Even when I set autoscaling, the range is totally wrong.
>

Be sure that X0 and dX is what you want to set. They do not change the
data the graph is displayng, but rather change how that data is labeled.
For example, if the data is measured in volts and you wish to display
it in degrees C, you can set the X0 and dX to the linear coefficients
that will convert between them for your sensor. This doesn't change
what tis in the data, just how it is labeled on the graph.

You probably want the X0 and DdX to be 0 and 1.

Greg McKaskle
0 Kudos
Message 5 of 6
(2,773 Views)
Greg McKaskle a ecrit :
>
> You probably want the X0 and DdX to be 0 and 1.


Yes, I've understood that since my last post.
But I want that the two scales (X and Y) have fixed mininal and maximal
value, regardless to the values of the XY Plot.
For the moment, the graph always fill entirely the chart, even if I set
autoscale off.
0 Kudos
Message 6 of 6
(2,773 Views)