[scilab-Users] Labels vanish on export to eps

Calixte Denizet calixte at contrib.scilab.org
Fri Nov 26 11:29:23 CET 2010


Le vendredi 26 novembre 2010 à 02:22 -0800, Vishwanath Rao a écrit :
> 
> Following is the script that I am running.  This is on Ubuntu Lucid
> 10.04 and Scilab version 5.2.1.  I have installed plotlib
> 

You use probably OpenJDK rather than Sun/Oracle java. If I'm right,
could you switch to Sun java ?

> 
> begin script:
> 
> 
> clear;
> close;
> 
> 
> 
> 
> a = [1 -3]';//First point
> b = [-2 1]';//Second Point
> 
> 
> d = sqrt((a(1) - b(1))^2 + (a(2)-b(2))^2) //Distance between the
> points
> 
> 
> x_min= min(a(1),b(1));
> x_max = max(a(1),b(1));
> y_min= min(a(2),b(2));
> y_max = max(a(2),b(2));
> 
> 
> x = x_min:(x_max-x_min)/100:x_max;
> y = y_min:(y_max-y_min)/100:y_max;
> 
> 
> figure("BackgroundColor",[1 1 1]);
> plot(x,y)
> _axis([-5 5 -5 5])
> _grid
> xlabel('X')
> ylabel('Y')
> 
> 
>  end script
> 
> 
> regards,
> Vishwanath.
> 
> 
> 
> ----- Original Message ----
> From: Calixte Denizet <calixte at contrib.scilab.org>
> To: users at lists.scilab.org
> Sent: Fri, 26 November, 2010 15:07:51
> Subject: Re: [scilab-Users] Labels vanish on export to eps
> 
> Le vendredi 26 novembre 2010 à 01:36 -0800, Vishwanath Rao a écrit :
> > When I export an plot to .eps format, the x and y labels vanish.  Is
> there are 
> > workaround?
> > 
> > 
> 
> Hello,
> 
> Could you give an example of the plot you want to export ? What is the
> version of scilab you use, what is your OS ?
> 
> Best regards
> 
> Calixte
> 
> >      
> 
> 
> 
> 
> 





More information about the users mailing list