Re: disk with hole [message #56735] |
Wed, 14 November 2007 06:08 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
jochem.verelst@gmail.com writes:
> Well, I actualy wanted to overlay this disk with hole on top of
> another graph. I solved it by drawing several empty circles right
> within each other, but this is definitely not the most elegant
> solution.
Elegant!? Try MatLab. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: disk with hole [message #56736 is a reply to message #56735] |
Wed, 14 November 2007 05:56  |
jochem.verelst@gmail.
Messages: 19 Registered: January 2007
|
Junior Member |
|
|
On Nov 14, 1:42 pm, David Fanning <n...@dfanning.com> wrote:
> jochem.vere...@gmail.com writes:
>> Has anybody an idea on how to create a disk with hole? So to say, it
>> is a circle within another circle and that surface should be filled.
>> Thanks to the great website of DF drawing 2 cricles is the easy part.
>> But filling the space in between seems to be the hard part. Anyone can
>> guide me further?
>
> I take it the obvious solution of drawing the larger circle
> in the disk color and the smaller circle in the background
> color doesn't appeal to you, for some reason?
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Well, I actualy wanted to overlay this disk with hole on top of
another graph. I solved it by drawing several empty circles right
within each other, but this is definitely not the most elegant
solution.
greetzzz, Jochem
|
|
|
Re: disk with hole [message #56738 is a reply to message #56736] |
Wed, 14 November 2007 04:42  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
jochem.verelst@gmail.com writes:
> Has anybody an idea on how to create a disk with hole? So to say, it
> is a circle within another circle and that surface should be filled.
> Thanks to the great website of DF drawing 2 cricles is the easy part.
> But filling the space in between seems to be the hard part. Anyone can
> guide me further?
I take it the obvious solution of drawing the larger circle
in the disk color and the smaller circle in the background
color doesn't appeal to you, for some reason?
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|