PDA

View Full Version : SVG background on a Qwtpolar Plot



john_k
28th November 2014, 12:52
Hi Uwe.

I hope I have an interesting question for you. Here it is.

I would like to put a background on a polar plot that scales automaticaly when you use the built in qwtpolar zoom function.

I have grabbed an osm file (open street map) using josm (java openStreetmap editor) from https://josm.openstreetmap.de/ and I have filtered it to only the info I want to see with osmfilter http://wiki.openstreetmap.org/wiki/Osmfilter then converted it to svg with Maperitive http://maperitive.net/. I have chosen svg because it is a format that Qt knows about ond should be scalable.

From what I gather:

If I set a background it does not change when I zoom?
If I set a place marker it does not change when I zoom?
Can a surface plot be an svg?

If anyone has a good idea or thinks this would be a good feature to add to qwtpolar speakup.

Thanks for your time , great work.

Uwe
30th November 2014, 09:47
I would like to put a background on a polar plot that scales automaticaly when you use the built in qwtpolar zoom function.
This would be an polar plot item comparable to QwtPlotSVGItem. For the polar version the position of the unscaled SVG needs to be given by something like center + width/height in radial values.

Uwe