Polar / Linear axes on the same plot

Oystein Bjorke il y a 10 ans 0
This discussion was imported from CodePlex

tboloo wrote at 2013-02-28 21:15:

Dear oxyplotter,
I am trying to recreate following chart
Image
So far I have achieved such effect:
Image
which is not quite what I want. My question is: is it possible at all to create such plot using oxyplot (with radial plot being clipped by linear, etc.) ?
Looking forward for the answer,
Bolek.

objo wrote at 2013-03-13 21:38:

I think the easiest solution would be to create a custom annotation that renders the polar coordinate system. The Annotation base class contains references to the X and Y axes, and there are IRenderContext extension methods that supports line clipping!

tboloo wrote at 2013-03-18 09:09:

Hi objo,
Thank you for the reply, I managed to get the desired effect with annotations.
Regards,
Bolek.

David_NET wrote at 2013-12-09 10:30:

I am working on polar plot, it would be great to see some code on how to combine annotation to get the effect you need. Can you share the code?

objo wrote at 2013-12-09 21:45:

Please create an example we can include in the example library :)