mpWindow's "fit" function a...

Ed Lu
  • Ed Lu

    Ed Lu - 2011-07-12

    Hi, I'm having trouble using the "fit" function the mpWindow class of the wxMathPlot library. It seems to be fitting fine to Y, but for X it simply stays at scales of .1 even when I have points with x values such as 1e-5. If I zoom in, I can see the points, but at where it "fits" the graph all I see is a very large line up/down the Y axis. i can post code, if needed, but honestly all I'm doing is adding two points ((-1e-5, 100) and (1e5, 100)) to an mpFXYVector and then using the fit function on the parent mpWindow.
    I've posted this on the wxMathPlot forums as well, by the way, but this forum is much more active, so I figured I might try here.

  • Ed Lu

    Ed Lu - 2011-07-12

    Whoops, I copy-pasted this to the wxWidgets forums as well - ignore that last sentence. Too bad there isn't an edit button.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks