help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pizza-like plot of (inside) section of sphere


From: Rod Letchford
Subject: Re: Pizza-like plot of (inside) section of sphere
Date: Wed, 4 Dec 2013 14:33:01 -0800 (PST)

Jason sent me this possibility:

1.  Plot it in 3d using one of the many 3d plotting functions such as surf (surface plotting), mesh (mesh plotting), or plot3 (line plotting in 3d).
2.  Use the "view" command with 2 angles to get the right direction of view.  When you do this right, a 3d plot looks like a 2d color plot.

Example Octave Code:
peaks
view([90 0])
view([0 0])

view([90 0]) is clipboard1.png
view([0 0]) is clipboard2.png

The view command takes an vector of 2 arguments that sets two angles, [azimuth elevation].

As a newbie, this might take me awhile to digest. Thanks for taking the time to reply.
Rod

reply via email to

[Prev in Thread] Current Thread [Next in Thread]