[scilab-Users] Beginner problem with xs2pdf

Antoine Monmayrant antoine.monmayrant at laas.fr
Thu Sep 23 13:59:59 CEST 2010


Le 23/09/2010 12:52, A. Ismael F. Vaz a écrit :
> Dear all,
>
> I was recently made aware of scilab and today was the day to try it out.
>
> I was trying simple commands and the first ones were
>
> x=[0:0.01:2*%pi]';
> plot(sin(x));
>
> for a simple plot of the sine function.
>
> When I exported the plot into a PDF file the plot is somehow strange as
> extra lines appears in the plot. I tried the graphic windows menu to export
> the plot and also the xs2pdf function, and the same happens. It also happens
> when I export to EPS.
>
> Am I doing something wrong? This is not a good start :(
>
> SciLab version: 5.2.2 (actually I tried first the 5.3.0-beta-2 and then
> downgraded)
> Operating System: Windows XP (updated)
>
> Best regards,
> Ismael Vaz
>
> P.S. I am attaching the PDF file, but I do not know if it works for this
> users mail list.
>    
I don't have your problem.
I tried:

x=[0:0.01:2*%pi]';
plot(sin(x));
h=gcf();
xs2pdf(h,"sine.pdf");

and the pdf I got was OK.
It sounds like a bug to me.
Could you try to run the example above on your machine and see if the 
problem is still here?
If it's the case, it would be nice to fill a bug report.

Antoine

-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

  Antoine Monmayrant LAAS - CNRS
  7 avenue du Colonel Roche
  31077 TOULOUSE
  Cedex 4 FRANCE

  Tel:+33 5 61 33 64 59

  email : antoine.monmayrant at laas.fr
  permanent email : antoine.monmayrant at polytechnique.org

+++++++++++++++++++++++++++++++++++++++++++++++++++++++





More information about the users mailing list