octave-maintainers
[Top][All Lists]
Advanced

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

Re: Screenshot/Examples section before 3.0/at all ?


From: Kai Habel
Subject: Re: Screenshot/Examples section before 3.0/at all ?
Date: Thu, 13 Dec 2007 22:29:40 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20070801)

Kai Habel schrieb:
> Hello all,
>
> what do you think about adding a screenshot/examples section to the
> website? Since the graphics was improved a lot, we should give the user
> some examples of our achievements.
> In addtions this page could be linked to from the upcoming 3.0
> announcement and attract new users/developers.
>
> I could provide some example scripts plus pictures, but my html coding
> is rather limited.
>
> Kai
>
>
> Examples from other projects:
> http://matplotlib.sourceforge.net/screenshots.html
> http://gnuplot.sourceforge.net/demo_4.3/
>
>   
An example script could look like the attached one for a Kuen surface

Kai


# Kuen's surface
# example taken from:
# http://www.math.umbc.edu/~rouben/dynagraph/examples.html

u = linspace(-4.5,4.5,64);
v = linspace(0.05,pi-0.05,64);

[U, V] = meshgrid(u, v);
W = 1 + U.^2 .* sin(V).^2;
X = 2*(cos(U) + U.*sin(U)) .* sin(V) ./ W;
Y = 2*(sin(U) - U.*cos(U)) .* sin(V) ./ W;
Z = log(tan(V/2)) + 2*cos(V) ./ W;
surf(X,Y,Z);
title("Kuen's surface")

reply via email to

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