[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Shade region between curves
From: |
Rob Mahurin |
Subject: |
Re: Shade region between curves |
Date: |
Wed, 20 May 2009 01:03:18 -0400 |
On May 19, 2009, at 6:40 PM, Shane Gibney wrote:
Should:
patch( [x, x(end:-1:1)], [x.^2, x(end:-1:1).^4] , [1 0 0])
actually plot the two curves? Is Octave-forge needed?
The curves are the boundary of the colored region. By default the
boundary is a thin black line, but you can change the properties
"edgecolor" and "linewidth", either in the patch command or later
with set() on the handle. Use
h = patch( ... whatever ... );
get(h)
to see what's tweakable.
Cheers,
Rob
--
Rob Mahurin
Department of Physics and Astronomy
University of Tennessee 865 207 2594
Knoxville, TN 37996 address@hidden