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: 

Plotting GPS and Condition of one color (intensity) plot

Dear Sir,

 

I have some GPS data (Long and Lat) and some road condition information as a 1d array linked to the GPS locations (Long, Lat, Severity). I want to map the road conditions depending on its severity on a graph like an XY graph so i can see the road but the points on the graph must be a color depending on the severity. I have tried several things like using an intensity plot but the problem is that my data points are not evenly spread. 

 

Please can you help.

 

Thank you.

 

Regards,

Mo

0 Kudos
Message 1 of 2
(2,014 Views)

Hi Mo,

 

I've attached an example VI that uses a surface plot to show intensities. It will take an x-vector and y-vector (latitude and longitude) as well as a 2-d z-matrix (severity). 

 

Thanks,

0 Kudos
Message 2 of 2
(1,985 Views)