<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><div></div><div><br>Thanks, this works.  I tried putting this command in /usr/share/applications/scilab.desktop in the line Exec=<span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: 13px; ">JAVA_HOME=/usr/lib/jvm/java-6-sun/ scilab so as to launch directly without the console.  But it did not help.  Any pointers?</span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: 13px; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: 13px; ">thanks,</span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: 13px; ">Vishwanath.</span></div><meta http-equiv="content-type"
 content="text/html; charset=utf-8"><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><br><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Sylvestre Ledru <sylvestre.ledru@scilab.org><br><b><span style="font-weight: bold;">To:</span></b> users@lists.scilab.org<br><b><span style="font-weight: bold;">Sent:</span></b> Fri, 26 November, 2010 16:16:56<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [scilab-Users] Labels vanish on export to eps<br></font><br>Try <br>aptitude install sun-java6-jre<br>JAVA_HOME=/usr//lib/jvm/java-6-sun/ scilab<br><br>Sylvestre<br><br>Le vendredi 26 novembre 2010 à 02:41 -0800, Vishwanath Rao a écrit :<br>> <br>> How to switch to Sun java?<br>>  <br>> <br>> From: Calixte Denizet <<a ymailto="mailto:calixte@contrib.scilab.org"
 href="mailto:calixte@contrib.scilab.org">calixte@contrib.scilab.org</a>><br>> To: <a ymailto="mailto:users@lists.scilab.org" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br>> Sent: Fri, 26 November, 2010 15:59:23<br>> Subject: Re: [scilab-Users] Labels vanish on export to eps<br>> <br>> Le vendredi 26 novembre 2010 à 02:22 -0800, Vishwanath Rao a écrit :<br>> > <br>> > Following is the script that I am running.  This is on Ubuntu Lucid<br>> > 10.04 and Scilab version 5.2.1.  I have installed plotlib<br>> > <br>> <br>> You use probably OpenJDK rather than Sun/Oracle java. If I'm right,<br>> could you switch to Sun java ?<br>> <br>> > <br>> > begin script:<br>> > <br>> > <br>> > clear;<br>> > close;<br>> > <br>> > <br>> > <br>> > <br>> > a = [1 -3]';//First point<br>> > b = [-2 1]';//Second
 Point<br>> > <br>> > <br>> > d = sqrt((a(1) - b(1))^2 + (a(2)-b(2))^2) //Distance between the<br>> > points<br>> > <br>> > <br>> > x_min= min(a(1),b(1));<br>> > x_max = max(a(1),b(1));<br>> > y_min= min(a(2),b(2));<br>> > y_max = max(a(2),b(2));<br>> > <br>> > <br>> > x = x_min:(x_max-x_min)/100:x_max;<br>> > y = y_min:(y_max-y_min)/100:y_max;<br>> > <br>> > <br>> > figure("BackgroundColor",[1 1 1]);<br>> > plot(x,y)<br>> > _axis([-5 5 -5 5])<br>> > _grid<br>> > xlabel('X')<br>> > ylabel('Y')<br>> > <br>> > <br>> >  end script<br>> > <br>> > <br>> > regards,<br>> > Vishwanath.<br>> > <br>> > <br>> > <br>> > ----- Original Message ----<br>> > From: Calixte Denizet <<a ymailto="mailto:calixte@contrib.scilab.org"
 href="mailto:calixte@contrib.scilab.org">calixte@contrib.scilab.org</a>><br>> > To: <a ymailto="mailto:users@lists.scilab.org" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br>> > Sent: Fri, 26 November, 2010 15:07:51<br>> > Subject: Re: [scilab-Users] Labels vanish on export to eps<br>> > <br>> > Le vendredi 26 novembre 2010 à 01:36 -0800, Vishwanath Rao a écrit :<br>> > > When I export an plot to .eps format, the x and y labels vanish.<br>> Is<br>> > there are <br>> > > workaround?<br>> > > <br>> > > <br>> > <br>> > Hello,<br>> > <br>> > Could you give an example of the plot you want to export ? What is<br>> the<br>> > version of scilab you use, what is your OS ?<br>> > <br>> > Best regards<br>> > <br>> > Calixte<br>> > <br>> > >      <br>> > <br>> >
 <br>> > <br>> > <br>> > <br>> <br>> <br>> <br>> <br>> <br><br>-- <br>-------------------------<br>Sylvestre Ledru<br>-------------------------<br>The Scilab Consortium<br>Digiteo<br>Domaine de Voluceau<br>Rocquencourt - B.P. 105<br>78153 Le Chesnay Cedex<br>France<br><br></div></div><div style="position:fixed"></div>


</div><br>



      </body></html>