04-11-2024 03:05 PM
Hello,
I have the data to plot on the graph but I am unable to reproduce it as the graph in the image
How can I make the chart look the same?
Objective plot:
VI:
04-11-2024 03:22 PM - edited 04-11-2024 03:24 PM
Sorry, I cannot look at your VI, just at the picture (consider "save for previous), 2020 or below, before attaching VIs).
Please make sure to use the correct terminology, a "chart" is something very different than a graph, so don't mix the two.
You have wired an empty array to the chart terminal so no points will even show. Where does the data in your picture comes from?
Most of your code makes very little sense! There is no purpose to the sequence structure and having just one (or three) marker values on the axes seems odd. All your string gymnastics seems overly complicated.
@leandrofeder wrote:
I have the data to plot on the graph but I am unable to reproduce it as the graph in the image
How can I make the chart look the same?
What exactly should "look the same"? The data? The annotations? The cosmetics?
04-12-2024 06:28 AM
Sorry, now I attached the 2020 version of the VI
So, I don't have any other values
I received the demand to be able to repeat the image with the values that are in the VI
But I'm not getting that yet
The format of the values is as it is in the file, I will need to process the data before making the plot
I can't share the original file for confidentiality reasons
04-12-2024 08:21 AM
One way to accomplish what you're looking is to create 2 curves to plot, one with your original data, and another curve with just with the red dots, then plot them on top of each other using a XY graph.
Each curve will be a cluster
X,Y, then build an array of clusters to plot your final result.
The final XY graph needs to be adjusted to look like you desire, adjust color, points and interpolation (You do that by right click on the plot legend on your front panel.