Results 1 to 2 of 2

Thread: Export qwt Plot to PDF respecting scales

  1. #1
    Join Date
    Oct 2014
    Posts
    1
    Qt products
    Qt4 Qt5
    Platforms
    Windows Android

    Default Export qwt Plot to PDF respecting scales

    Hi everyone!!

    I have to generate a pdf from a plot which contains info about a longitudinal of terrain. The line is 6 kms long (but that depends on the project loaded). Because of this, I have to distribute the plot on several pages so i need a way to export the plot in a specific scale (horizontal and vertical).
    I tried it with QwtPlotRenderer but I couldn´t do anything but export all the plot.
    I hope there is any solution

    Thank you very much. Marcos

  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: Export qwt Plot to PDF respecting scales

    With having a target rectangle, that is larger than the page and setting up a clip rectangle for the painter it should be possible to print the plot in separate tiles.

    Uwe

Similar Threads

  1. Replies: 2
    Last Post: 21st March 2014, 02:44
  2. Replies: 1
    Last Post: 17th April 2012, 10:10
  3. QLineEdit not respecting setBackgroundRole?
    By kevbru in forum Qt Programming
    Replies: 1
    Last Post: 10th November 2010, 07:26
  4. export and printing qwt plot
    By giusepped in forum Qwt
    Replies: 6
    Last Post: 17th December 2008, 07:04
  5. export a plot as image
    By giusepped in forum Qwt
    Replies: 0
    Last Post: 16th December 2008, 14:43

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.