<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hello,<br>
<br>
You can try to use Ubuntu (Debian) "alternatives" system. It is a way
to choose between packages that provides the same functionnality (like
sun-jre and OpenJDK). This way all your apps will use the sun-jre.<br>
<br>
From
<a class="moz-txt-link-freetext" href="https://help.ubuntu.com/6.06/ubuntu/desktopguide/C/programming.html">https://help.ubuntu.com/6.06/ubuntu/desktopguide/C/programming.html</a> you
can see that the command is:<br>
<pre class="screen">sudo update-alternatives --config java</pre>
<br>
Disclaimer: I didn't try this for Java.<br>
<br>
HTH,<br>
Mathieu<br>
<br>
On 11/26/2010 02:03 PM, Vishwanath Rao wrote:
<blockquote cite="mid:364640.68850.qm@web33807.mail.mud.yahoo.com"
type="cite">
<style type="text/css"><!-- DIV {margin:0px;} --></style>
<div
style="font-family: 'times new roman','new york',times,serif; font-size: 12pt;">
<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=ISO-8859-1">
<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
face="Tahoma" size="2">
<hr size="1"><b><span style="font-weight: bold;">From:</span></b>
Sylvestre Ledru <a class="moz-txt-link-rfc2396E" href="mailto:sylvestre.ledru@scilab.org"><sylvestre.ledru@scilab.org></a><br>
<b><span style="font-weight: bold;">To:</span></b>
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><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 moz-do-not-send="true"
ymailto="mailto:calixte@contrib.scilab.org"
href="mailto:calixte@contrib.scilab.org">calixte@contrib.scilab.org</a>><br>
> To: <a moz-do-not-send="true"
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 moz-do-not-send="true"
ymailto="mailto:calixte@contrib.scilab.org"
href="mailto:calixte@contrib.scilab.org">calixte@contrib.scilab.org</a>><br>
> > To: <a moz-do-not-send="true"
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>
<br>
</blockquote>
<br>
</body>
</html>