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: Jason Nicholson
Subject: Re: Pizza-like plot of (inside) section of sphere
Date: Wed, 4 Dec 2013 20:16:04 -0800 (PST)

Rod,

Here is an example Rod.  Hopefully this give you what you need to get started.
 
Sincerely,
Jason Nicholson


On Thursday, December 5, 2013 6:35 AM, Rod Letchford <address@hidden> wrote:
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


Attachment: celestialSphereExample.m
Description: Text document

Attachment: Celestial Sphere Example.pdf
Description: Adobe PDF document


reply via email to

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