On 2014-01-13 09:16, Antoine Monmayrant wrote:
--------------------
On 01/13/2014 01:27 AM, Stefan Du Rietz wrote:
Hi,
when I export a figure to a bitmap file (PNG, JPG, GIF, PPM, BMP)
from Xubuntu Linux, it has the y axis turned about 30 degrees
clockwise and is divided in two parts. Has anybody else experienced
that?

Regards /Stefan
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users
Hi Stefan,

Could you send us a small test script that produces the bogus plot, so
we can give it a try?
Do you have a huge scaling factor between x and y?
Like mean(y)<mean(x)*10^-4 ?
If it is the case, try plot(x,y*10^4) (replacing 10^4 be the inverse
of the y/x ratio).
There use to be a bug that produces this slant, but it is corrected
now: see http://bugzilla.scilab.org/show_bug.cgi?id=11399 .

Hope it helps,

Antoine
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Hi Antoine,
there is nothing wrong with the plot, only with the exported file! And even that is OK when exported from Windows 7.

x = [0:0.05*%pi:2*%pi]';
f = scf();
plot2d(x, sin(x))
xgrid()

Now, from the figure menu: File > Export to ... > PNG (or any other)

File > Vectorial export ... works OK.

Regards /Stefan


_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to