# LabVIEW

cancel
Showing results for
Did you mean:

## Polar Plots

Morning/Evening Gurus (*delete as appropriate),

Is it possible to generate polar plots like the one in the attached? I have three inputs, a direction, a radial position and 3rd value for the colour scale (wind direction, windspeed then a gas pollutant from a weather station). I am basically looking for a Labview equivalent of Openair, if that means anything.

Message 1 of 12
(950 Views)

## Re: Polar Plots

I am sure you could just use an intensity graph and map your data into the grid accordingly Using interpolation for missing grid points..

You can use "plot images" feature to overlay the circular scales, etc.)

Similarly, you can use a 2D picture indicator.

Do you have some typical data?

Message 2 of 12
(931 Views)

## Re: Polar Plots

Either way, you need to map your data into a rectangular grid (which is also the case of your example images). For an example of overlaying grid lines and markers, have a look here.

Message 3 of 12
(912 Views)

## Re: Polar Plots

Hi All,

Thanks for the info,and sorry for the slow response in replying. I was out of office last week.

I'll have a look at the thread and also try and post some data as an example.

Paul

Message 4 of 12
(784 Views)

## Re: Polar Plots

Got some data together in between teaching undergrads! This would be the sort of thing, with a signal, a radial position and a direction. Would this work on your example code?

Message 5 of 12
(735 Views)

## Re: Polar Plots

Hi Pablo,

@MancPablo wrote:

This would be the sort of thing, with a signal, a radial position and a direction.

Something like this:

Now you need to implement an interpolation algorithm to "fill" the blank space between your data samples…

Best regards,
GerdW

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 6 of 12
(717 Views)

## Re: Polar Plots

@GerdW wrote:

Now you need to implement an interpolation algorithm to "fill" the blank space between your data samples…

the easiest way is to accumulate a 2d Histogram with rectangular or square 'bins'

Spoiler
Message 7 of 12
(639 Views)

Message 8 of 12
(636 Views)

## Re: Polar Plots

You could check this toolkit out

I don't know if it will solve your problem but it has some handy plots you can make.

Dan Shangraw, P.E.

Message 9 of 12
(610 Views)

## Re: Polar Plots

@alexderjuengere wrote:

@GerdW wrote:

Now you need to implement an interpolation algorithm to "fill" the blank space between your data samples…

the easiest way is to accumulate a 2d Histogram with rectangular or square 'bins'

it is common to smooth the flat square bin with a 2d Gaussian Kernel as shown here:

https://forums.ni.com/t5/Machine-Vision/gaussian-filter/m-p/2443278#M38836

Message 10 of 12
(585 Views)