Results 1 to 2 of 2

Thread: how can i bloc the axis boundaries ? (due to a strange scale)

  1. #1
    Join Date
    May 2011
    Posts
    122
    Thanks
    34
    Platforms
    Windows

    Default Re: how can i bloc the axis boundaries ? (due to a strange scale)

    hello world,

    i have a little problem with the graph on Qwt:
    => when i plot my graph (which it change with the time) i have sometimes a strange scale for the axis (see attached item)
    http://imageshack.us/photo/my-images...ntheright.png/

    so do you know how i can change this scale? for example i can fixe the minimum values which is 1e-10, but i don't know how i can modifiy this...

    thank for your futur contribution

    ps: i am a beginner so use easy understanding explications please, see you later :-)


    EDIT:
    i have try this:

    1°) myPlot1->boundingRect().left(1e-10);
    2°) mycurve->boundingRect(1e-10).left();
    3°) mycurve->boundingRect().left(1e-10);
    4°) myPlot1->setAxisMaxMinor(0,1e-10);

    but it doesn't work


    Added after 4 minutes:


    i think i have to use this:
    http://qwt.sourceforge.net/class_qwt_scale_div.html

    but i am not sure and i don't understand how....

    can you show me an example myplot-> ???
    Last edited by 21did21; 12th September 2011 at 16:06.

  2. #2
    Join Date
    May 2011
    Posts
    122
    Thanks
    34
    Platforms
    Windows

    Default Re: how can i bloc the axis boundaries ? (due to a strange scale)

    up ;-)
    please

    ps: i see that several people llok my thread but doesn't reply, it's too difficult problem ?
    Last edited by 21did21; 12th September 2011 at 23:33.

Similar Threads

  1. Axis Auto Scale
    By gkarthick5 in forum Qwt
    Replies: 3
    Last Post: 13th July 2011, 14:57
  2. Replies: 4
    Last Post: 16th January 2011, 11:32
  3. qwp plot axis scale
    By Cal in forum Qwt
    Replies: 1
    Last Post: 11th May 2009, 18:10
  4. Axis with a probability scale
    By Lister in forum Qwt
    Replies: 1
    Last Post: 5th May 2009, 07:45
  5. 4 axis auto scale..
    By Vincenzo in forum Qwt
    Replies: 0
    Last Post: 22nd March 2009, 02:12

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.