Results 1 to 4 of 4

Thread: Save QwtPlot as an image

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2010
    Location
    Auckland, NZ
    Posts
    121
    Thanks
    9
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Save QwtPlot as an image

    Is there a way to save a QwtPlot as an image, e.g. as a PNG file?

    Thanks
    Gib

    I should add that I'm using Qwt5.2.1. I see that qwt_plot_renderer is available in Qwt6, but not in Qwt5.

    Now I see (from Uwe's reply to an old question) that the Bode plot example shows how to do it.

    And now I see that this example creates a SVG image file, not exactly what I want. It uses QSvgGenerator, and there is nothing equivalent for other image formats.
    Last edited by gib; 21st May 2018 at 00:19.

Similar Threads

  1. Replies: 15
    Last Post: 24th July 2015, 22:33
  2. save image
    By lozdog in forum Newbie
    Replies: 1
    Last Post: 19th May 2014, 07:06
  3. Replies: 4
    Last Post: 29th May 2012, 23:37
  4. Qwt & save as image
    By giostau in forum Qwt
    Replies: 1
    Last Post: 8th February 2012, 14:41
  5. Replies: 11
    Last Post: 31st December 2008, 12:30

Tags for this Thread

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.