Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Corrupted Octave Plots

Help
nkmho
2010-01-20
2013-02-18
  • nkmho
    nkmho
    2010-01-20

    VcXsrv been working pretty well for me for things, but I recently ran into a problem with Octave plots. If I run the following test script in Octave, you'll see that the plot doesn't show up properly, compared to what I see when using Xming or VNC:

    x = (-10:0.1:10)'; data = ; plot(x,data);

    The line thickness seems to be messed up, since if I run "plot(,)", the line thickness in VcXsrv is much thicker.

     
  • marha
    marha
    2010-01-24

    A fix for this problem has been checked in on trunk revision 393. It will be incorporated in the next release.
    The visual studio compiler does not provide a prototype for the hypot function but for the _hypot function. This was causing thick lines to be drawn with the wrong thickness.

    Marc