<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>How to switch to Sun java?<br> </div><div></div><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><font size="2" face="Tahoma"><b><span style="font-weight: bold;">From:</span></b> Calixte Denizet <calixte@contrib.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 15:59:23<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [scilab-Users] Labels vanish on export to eps<br></font><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. 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 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></div></div><div style="position:fixed"></div>
</div><br>
</body></html>