[Scilab-users] Bitmap export

Stefan Du Rietz sdr at durietz.se
Mon Jan 13 10:50:11 CET 2014


Hi Calixte,
here you are!

Regards /Stefan

On 2014-01-13 10:43, Calixte Denizet wrote:
--------------------
> Hi Stefan,
>
> Could you attach the guilty picture please ?
>
> Regards
>
> Calixte
>
> On 13/01/2014 10:37, Stefan Du Rietz wrote:
>> 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
>>>> users at lists.scilab.org
>>>> 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
>>> users at lists.scilab.org
>>> 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
>> users at lists.scilab.org
>> http://lists.scilab.org/mailman/listinfo/users
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gridtest.png
Type: image/png
Size: 11089 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20140113/17f2c5f0/attachment.png>


More information about the users mailing list