Results 1 to 2 of 2

Thread: Is there a way to change the appearance of qwtplot

  1. #1
    Join Date
    Jul 2012
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Is there a way to change the appearance of qwtplot

    2d with x and y axises.png

    I want to make a plot with x and y axises that look like the picture above. Can I modify the appearance of qwtplot and how?

    I am new to qt (1 month of experience) and I installed qwt today for the first time. I made the application in the screenshot using the graphicsView of qt. My application should display points like they do in the screenshot but since I needed the zoom and mouseclick functions i decided to give qwt a try. But the default appearance of the qwtplot is not what i was looking for. My plot has to have negative values too. So how can I modify it to look more like the one in the screenshot?

    thanks in advance.

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

    Default Re: Is there a way to change the appearance of qwtplot

    There are many ways to customize a plot, so the question is a bit unspecific. If it is only about how to put axes on the canvas: you need to attach 2 QwtPlotScaleItems.

    I recommend to check the examples and spend some time on learning the terminology used in Qwt. Then you should be able to ask for the features you need.

    Uwe

Similar Threads

  1. Replies: 0
    Last Post: 9th December 2011, 17:39
  2. QwtPlot Change Axis Title Alignment
    By deepy in forum Qwt
    Replies: 5
    Last Post: 20th October 2010, 13:40
  3. Replies: 2
    Last Post: 6th May 2010, 14:09
  4. Replies: 1
    Last Post: 20th February 2010, 12:42
  5. Replies: 1
    Last Post: 5th January 2010, 21:00

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.