Results 1 to 2 of 2

Thread: SVG background on a Qwtpolar Plot

  1. #1
    Join Date
    Jul 2014
    Posts
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default SVG background on a Qwtpolar Plot

    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.

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,311
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: SVG background on a Qwtpolar Plot

    Quote Originally Posted by john_k View Post
    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

Similar Threads

  1. Replies: 9
    Last Post: 3rd November 2014, 20:44
  2. Replies: 2
    Last Post: 18th December 2011, 23:34
  3. QwtPolar: Plot using a 2-dimensional array
    By hgstoehr in forum Newbie
    Replies: 0
    Last Post: 14th December 2011, 21:39
  4. Plot Raster chart background
    By jmsbc in forum Qwt
    Replies: 3
    Last Post: 8th August 2010, 19:56
  5. Replies: 3
    Last Post: 9th September 2009, 04:34

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.