0
À l'étude

Layered polar plot

zhadziah il y a 9 ans mis à jour il y a 9 ans 2
Hello everyone!
I have a question. I'm investing possibility of using oxyplot for radar PPI display using it's polar plot.

I would like to know is there an option to put a map of scanned area inside the polar plot (inside it's boundaries) and on top of that map I would like to draw scanned targets. Can it be done?
Maybe using background, or tile map annotation?

Regards
À l'étude
Did you see the examples showing a heat map on polar axes? Performance is an issue, but it can be done!
Implement as a "series" if it should be "trackable" (mouse click to show value) otherwise "annotation".
Hello again. I've managed to make polar plot and underneath it I've placed image using image annotations.
But now a new problem arises, and that is how to resize image to fit in plot area?
Do you guys have some ideas?

Some of my code:
imgScanMap = resizeImage(imgScanMap, new Size(Convert.ToInt32(_plotModel.PlotArea.Width), Convert.ToInt32(_plotModel.PlotArea.Height)));
OxyImage oxyImg = new OxyImage(OxyPlotter.ImageToByte2(imgScanMap));
ImageAnnotation imgA = new ImageAnnotation(oxyImg, 0, 1, HorizontalAlignment.Left, VerticalAlignment.Bottom);
imgA.Layer = AnnotationLayer.BelowAxes;
_plotModel.Annotations.Add(imgA);