[scilab-Users] Beginner problem with xs2pdf
Calixte Denizet
calixte at contrib.scilab.org
Thu Sep 23 17:24:23 CEST 2010
Le jeudi 23 septembre 2010 à 16:11 +0100, A. Ismael F. Vaz a écrit :
> Dear Antoine,
>
> Thanks again for the prompt reply. Using you code I obtain exactly the same
> figure.
>
> I am an one hour user of SciLab, but it clearly looks like a bug in the
> xs2pdf function, and not a video driver problem.
>
> I guess it is because a figure if obtained by plotting line segments between
> the provided function points (linear interpolation). Somehow the driver
> (xs2pdf) gets messed with the provided points and from time to time it plots
> a line using the first point and not the previous point, which gives the
> figure I had attached in the previous message.
>
Ismael
I know very well this kind of bugs and I can confirm this a problem with
the driver of your graphic card (probably an ATI). So try to update your
driver.
Calixte
> Best,
> Ismael
>
> > -----Original Message-----
> > From: Antoine Monmayrant [mailto:antoine.monmayrant at laas.fr]
> > Sent: quinta-feira, 23 de Setembro de 2010 13:00
> > To: users at lists.scilab.org
> > Subject: Re: [scilab-Users] Beginner problem with xs2pdf
> >
> > 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