<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Le 26/11/2010 06:54, Sam Mathew a écrit :
<blockquote
 cite="mid:AANLkTikSE-HGQOTPkXf47SUy+WM0=Spdu0M4FCmmVN8B@mail.gmail.com"
 type="cite">Hi everyone,<br>
  <br>
Is it possible to save the spherical coordinates of the view
{a.rotation_angles = [alpha,theta]} for a given view that we pivot the
3D plot to (using the in-built rotate icon available on the display
window)? The basic problem is that I do not yet understand the
convention used in SCILAB for azimuthal and inclination angles, and
therefore am struggling to get images with the same view applied on
several 3D plots.<br>
  <br>
Also, I wanted to be able to see the crests and troughs of the surfaces
generated by my function. The grid lines on the surface are surely
helpful in this regard but since I have too many data points, the lines
actually make my surfaces look quite dark. I found out the way with
applying appropriate flags for getting rid of the lines on the surfaces
so that you get a surface with a constant colour. But I am not able to
see the crests and troughs of the graph then. I know from some CAD
experience that lighting would solve the problem. Any suggestion how
one can position the lights on the surfaces? Any other way for reducing
the number of grid lines on the surface?<br>
  <br>
Thanks for your time.<br>
  <br>
Regards,<br>
  <br>
Sam<br clear="all">
  <br>
-- <br>
  <br>
Asst. Manager, CFD<br>
Centre for Computational Technologies<br>
  <a moz-do-not-send="true" href="http://www.cctech.co.in">www.cctech.co.in</a><br>
Phone: +91 20 2552 1873<br>
</blockquote>
Hi,<br>
<br>
the plotlib module (available thru the Atoms module manager) allows<br>
to plot a surface with lighting (surfl and trisurfl functions). You can
choose<br>
the direction of the light source, so this should solve your problem. <br>
<br>
Concerning your problem with view angles, the problem is that even if
you<br>
force the view angles to be the same, you should also force the axis
limits<br>
to have an equivalent view.<br>
<br>
<br>
S.<br>
</body>
</html>