[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ellipse
From: |
Søren Hauberg |
Subject: |
ellipse |
Date: |
Mon, 01 Dec 2008 21:35:27 +0100 |
Hi All,
Some time ago there was a discussion on the help list about having a
function that plots an ellipse. The function was never completed, since
it lacked a few details for controlling the layout of things such as
bounding boxes, and major/minor axis of the ellipse. Attached is a IMHO
complete implementation of the function. It allows you to do things like
ellipse (A, 1, shift)
which will plot an ellipse described by 'A' with center at 'shift'. But
you can also do more complicated things like
ellipse (A, 1, shift, :, "k", "majoraxis", "g", "linewidth", 2,
"boundingbox", "b");
which will plot a black ellipse, with a green major axis of width 2, and
a blue bounding box.
Should this function be added to core Octave, or should I put it in
one of the packages at Octave-Forge?
Soren
ellipse.m
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- ellipse,
Søren Hauberg <=