[scilab-Users] Labels vanish on export to eps
Vishwanath Rao
gadepall at yahoo.com
Fri Nov 26 14:03:46 CET 2010
Thanks, this works. I tried putting this command in
/usr/share/applications/scilab.desktop in the line
Exec=JAVA_HOME=/usr/lib/jvm/java-6-sun/ scilab so as to launch directly without
the console. But it did not help. Any pointers?
thanks,
Vishwanath.
________________________________
From: Sylvestre Ledru <sylvestre.ledru at scilab.org>
To: users at lists.scilab.org
Sent: Fri, 26 November, 2010 16:16:56
Subject: Re: [scilab-Users] Labels vanish on export to eps
Try
aptitude install sun-java6-jre
JAVA_HOME=/usr//lib/jvm/java-6-sun/ scilab
Sylvestre
Le vendredi 26 novembre 2010 à 02:41 -0800, Vishwanath Rao a écrit :
>
> How to switch to Sun java?
>
>
> From: Calixte Denizet <calixte at contrib.scilab.org>
> To: users at lists.scilab.org
> Sent: Fri, 26 November, 2010 15:59:23
> Subject: Re: [scilab-Users] Labels vanish on export to eps
>
> 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
> >
> > >
> >
> >
> >
> >
> >
>
>
>
>
>
--
-------------------------
Sylvestre Ledru
-------------------------
The Scilab Consortium
Digiteo
Domaine de Voluceau
Rocquencourt - B.P. 105
78153 Le Chesnay Cedex
France
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20101126/02a827a3/attachment.htm>
More information about the users
mailing list