[scilab-Users] xs2pdf does not export graphic title

vogt at centre-cired.fr vogt at centre-cired.fr
Thu Jul 21 13:18:55 CEST 2011


> Hello,
> I use xs2pdf in a script to export a graphic window. (command :
> xs2pdf(gcf(),’graphic’,’landscape’).
>
> Everything works well except that it does not export the graphic title.
>
> If I use the interactive export function in the graphic window, the title
> is
> present.
>
> I didn’t find anything about this in the help.
>
>
> Any idea of what I did wrong ?
>
> Many thanks
>
hi

as a workaround, you can use xs2eps(), and then, via unix, ps2pdf and
pdfcrop.

ps2pdf and pdfcrop can be found in the miktex package for instance

pdfcrop will produce a pdf with your figure and nothing else (no margins,
the pd won't be sized as an A4)




More information about the users mailing list