[scilab-Users] 3D display view: Spherical coordinates [alpha,theta] + lighting

Stephane Mottelet stephane.mottelet at utc.fr
Fri Nov 26 13:35:00 CET 2010


Sam Mathew <sam at cctech.co.in> a écrit :

> Thanks Stéphane,
>
> I tried to install the library online on 5.3 beta 4,
> but it doesn't work.

the installation process or the plotlib itself ? Be sure to install  
the lastest version (0.42).

> But on the 5.2.2 version it did work. Is there any problem with 5.3 beta 4
> for installing atoms modules?
>
> Besides, as I am not yet very conversant with SCILAB, I don't know how to
> access help for the new toolboxes after installation!
>
> I would like to colour my surfaces with variable colours depending on the
> value they represent. I guess the help/demo/examples for plotlib would help
> much. How can one access it?

in the demo menu. If you want to copy/paste demos code, type (once for all
at the beginning of scilab session)

--> plotlibmode

or put it in your .scilab

S.

>
> Regards,
>
> Sam
>
>
> 2010/11/26 Stéphane Mottelet <stephane.mottelet at utc.fr>
>
>>  Hi,
>>
>> the plotlib module (available thru the Atoms module manager) allows
>> to plot a surface with lighting (surfl and trisurfl functions). You can
>> choose
>> the direction of the light source, so this should solve your problem.
>>
>> Concerning your problem with view angles, the problem is that even if you
>> force the view angles to be the same, you should also force the axis limits
>> to have an equivalent view.
>>
>>
>> S.
>>
>
>
>
> --
>
> Asst. Manager, CFD
> Centre for Computational Technologies
> www.cctech.co.in
> Phone: +91 20 2552 1873
>





More information about the users mailing list