LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2d plot intensity

I have plotted a 3d graph that has color intensity at different depths. I have this same data plotted on a XY graph but in solid color. To correlate the two plots I would like to include the color intensity on the XY graph. I searched through the forum for assistance and came up empty handed. I did see many threads on placing an XY plot on top of an intensity graph by making the XY transparent. This is the opposite of my objective. I would like the plotted line to be transparent and the intensity to show through the line, not the XY Graph border and background. I also tried plotting the data in an intensity graph. I am dealing with columns of data from text files. There are only about 30 elements per a column therefore the intensity graph looks blotchy unless I somehow fill in the void areas of data. Ideas are welcome? 

0 Kudos
Message 1 of 13
(4,752 Views)

I think I understand.  You want to have a single plot on the XY graph, but you want it to be multicolor.  So in effect the line on the XY will change color as the intensity changes.  Is that correct?

If so I am thinking a picture control may be the best route, but we may have some options.  In an XY graph each plot can only be 1 color, so we may be able to create a lot of plots especially because you said you only have 30... still may be a little slow.

Let me know if my understanding is correct and attach your code and we can all play with it to get the solution.

 

 

0 Kudos
Message 2 of 13
(4,749 Views)
That is exactly what I would like to do. The vi and text file are included.
Download All
0 Kudos
Message 3 of 13
(4,745 Views)

The 3d graph will do this.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 13
(4,717 Views)

That is a good idea Ben and I will tinker with your idea. The only problem I can identify immediate is concerning the scaling. Will I be able to make one axis longer than the other using the 3D plot? In the XY graph I have 3249ft vs. 0.2 knots, not to mention the lower 900ft without data. How will I represent the lower 900ft (this is the mud line) and the elongated Y axis on the 3D?

0 Kudos
Message 5 of 13
(4,711 Views)
The 3D method works well. Is it possible to rotate the x-axis horizontal?
 
 
0 Kudos
Message 6 of 13
(4,699 Views)

If I understand your Q correctly there is an option to invert an axis.

Is that what you wanted?

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 7 of 13
(4,694 Views)
I'm referring to the 0.02 - 0.14 standing on end. I do not want to invert the plot. I want to rotate the labels 90 degrees counterclockwise.
0 Kudos
Message 8 of 13
(4,691 Views)
Hi TheStig,

I see what you mean. I have looked into this and gone through the complete property browser and it appears that unfortunatley you cannot rotate those numbers directly.

Best regards,

Steven
0 Kudos
Message 9 of 13
(4,645 Views)

I have to concur with Steven.

Nice use of the 3-d graphs by the way!

Did you concider using multiple plots to render your velocity vectors?

This would give you the same "top view" but also let you observe the vectors vs time if you wanted.

Your code would make a nice example to help others with the 3d graph. Could we sweet talk you into posting your final solution? Smiley Happy

Trying to help,

Ben

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 10 of 13
(4,619 Views)