LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can i select which plots show in graph?

Solved!
Go to solution

Hey guys, I want to know

 

if I have a graph and I have like 8 plots

 

can I select which plot show like, in some cases I want to see only 2 plots, in other case I want to see 1 plot only, and other time I want to see all the plots, can I select or make something to make it happens?

 

Thanks

0 Kudos
Message 1 of 12
(3,544 Views)

Hi EduU,

 

you could either

-select the plots before building the array (or cluster) for the graph

or

-"hide" the plots by using transparent color for them (via property nodes)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 12
(3,540 Views)

Well, but I'm asking when I'm running the program

 

because I have a graph that show 8 plots, but sometimes I want to focus only in 1 plot... so with 8 different plots is difficult!

I want to hide the other 7 plots for a while so I can focus in only one plot.. after that I put the plots back, it's possible?

0 Kudos
Message 3 of 12
(3,537 Views)

Hi EduU,

 

what I wrote in message 2 is possible in runtime too Smiley Wink

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 12
(3,535 Views)
Solution
Accepted by EduU

Hi,

 

 

Just follow the attached VI

 

 

change the condition acc. to show which ever plot you want to show

0 Kudos
Message 5 of 12
(3,532 Views)

Yes, I tryed it here.. but after I put all Transparent... I have to select the color again... and that's not good x(

 

don't have an easier way? like only hide and after put it back?

 

Well maybe it work, shrekt I will try here in my program

thanks for the example!

 

In my case as I have 8 plots, I can change the T or F condition to a Case selector right?

So I hide 7 plots and show only the one I want to see!

Message Edited by EduU on 01-12-2010 06:10 AM
Message Edited by EduU on 01-12-2010 06:12 AM
0 Kudos
Message 6 of 12
(3,531 Views)

Hello Gerd,

I found another way than coloring the plot transparent (btw. with better performance for huge data graphs). It has another advance since the graph remembers the original color.

 

 

 

greets, Dave

Message Edited by daveTW on 01-12-2010 01:12 PM
Message Edited by daveTW on 01-12-2010 01:12 PM
Greets, Dave
0 Kudos
Message 7 of 12
(3,529 Views)

Hi Dave and shrekt,

 

yes, setting the plot invisible is surely better than transparent Smiley Wink

 

So EduU: until now you got 3 possible solutions for your question!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 12
(3,524 Views)

Only one question, where can i select invisible at the color of plot? =x

I didn't find it here!

 

Thanks for the help guys!

0 Kudos
Message 9 of 12
(3,520 Views)
Message Edited by daveTW on 01-12-2010 01:21 PM
Greets, Dave
Message 10 of 12
(3,514 Views)