ni.com is currently experiencing issues.
Support teams are actively working on the resolution.
ni.com is currently experiencing issues.
Support teams are actively working on the resolution.
10-08-2013 04:36 AM
Hello, i have a problem. I need to plot 2 plots on 1 to compare their FFT. I want to have 2 plots with the same styles as u can see at plots named FFT2 and FFT3, but when i compare them at plot FFT one of them have different line style. Can someone take a look on it?
Solved! Go to Solution.
10-08-2013 06:39 AM - edited 10-08-2013 06:40 AM
Hi!
Why don't you simply change the plot properties in order to have the line styles you need?
See the attached example.
Regards,
Marco
10-08-2013 08:07 AM
Hi, can u reupload your VI to earlier version of labview, 2012 at least :)?
10-08-2013 09:30 AM
Why did you change the plot style in the first place? It defaults to a simple line plot like you want. Just right-click the plot legend, select Common Plots and pick the first one. You can also control the plot variables with property nodes as mentioned if you wish. That is generally only used if you want to change things programatically while your program runs. You can just change your plots however you like manually and save your VI and you're done.
10-08-2013 09:57 AM
Here's the vi, but believe me it's easier to do it yourself....
Marco
10-08-2013 10:01 AM
In addition to what NIquist said, if you're going to compare them, you'll have to offset one of them a bit or the topmost one will cover the lower and you'll only see it if it's higher (I'tll stick out of the top), or make the lower one have a Bar style of 2 (wider), while the top one has a Bar style of 1 (narrower).
Cameron
10-08-2013 10:48 AM
Can u tell me why i cant change width of my bars for that plot style which i use in example i sent u?? I want to have one plot a bit narrower or wider than second. I cannot change bar width only for that plot style 😕 but i really need to use that style.
10-08-2013 11:35 AM
Sure you can. You just have to tell it which plot you want to have which bar style.
Unfortunately, there are only 3 bar styles available: 1 pixel wide, "mostly" filling the available space, and totally filling the available space.
Cameron
10-08-2013 11:44 AM
That is the problem. I wanna get a plot a bit more wider than 1 px, maybe 3-5px, but other options are: mostly filling the available space and totally filling ;//, as u can see at my pic.
10-08-2013 01:09 PM
Unless you write your own bar-plot program (which is a real PITA, I had to do it in Excel once for a publication, before LV came along, it shouldn't be hard in terms of fraction-of-the-index-values, but in terms of absolute pixels, I'm stumped), I think you're stuck with those three options. I've thought about suggesting a variable-width bar plot to NI, but haven't been able to clear enough time to write the suggestion rigorously enough to be useful. Maybe soon.
Cameron