[Scilab-users] Export plot from figure with uicontrols
Izabela Wójcik-Grząba
iwoj at il.pw.edu.pl
Tue Feb 26 17:41:41 CET 2019
Thanks Federico, but as I wrote in an answer to Samuel, the problem is
that you can't export a figure with uicontrols because you get a blank
picture.
W dniu 26.02.2019 17:34, Federico Miyara napisał(a):
> Izabela,
>
> I've had the same problem. Saving as eps is theoretically the solution
> but I couldn't manage to make it compatible with, for instance, Word.
> My solution has been to save the figure as svg (a vectorized format),
> then open it with GIMP, a free open source image editor, then select
> an appropriate size (large enough so that when inserted in a word
> processing software has a very high, printable resolution) and save as
> high quality jpg. If the export contains things you don't want, you
> simple trim out those parts.
>
> Regards,
>
> Federico Miyara
>
>
> On 26/02/2019 13:07, Samuel Gougeon wrote:
>> Le 26/02/2019 à 15:15, Izabela Wójcik-Grząba a écrit :
>>> Hello,
>>>
>>> I know that there's no official method to export a figure containing
>>> uicontrols but I need to export only my plot which is in the frame of
>>> the figure. Ordinary print screen is not enough because I may need a
>>> bigger size of a picture
>>
>> The saved screenshot has the size of the figure when you save it. So:
>>
>> plot2d()
>> set(gcf(), "visible","off","axes_size",[2440,1840]); // for instance
>> xs2png(0, "bigfig.png")
>>
>> // winopen("bigfig.png")
>>
>> should do what you expect.
>>
>>> and also an .eps file.
>>
>> PostScript is a vectorial format. So the rendering from it should be
>> scalable according to your requirements.
>>
>> Samuel
>>
>> _______________________________________________
>> users mailing list
>> users at lists.scilab.org
>> http://lists.scilab.org/mailman/listinfo/users
>>
>>
>
>
> ---
> El software de antivirus Avast ha analizado este correo electrónico en
> busca de virus.
> https://www.avast.com/antivirus
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
More information about the users
mailing list