Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion plot colored ellipses
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
dave poreh  
View profile  
 More options Mar 30 2012, 9:33 am
Newsgroups: comp.lang.idl-pvwave
From: dave poreh <d.po...@gmail.com>
Date: Fri, 30 Mar 2012 06:33:24 -0700 (PDT)
Local: Fri, Mar 30 2012 9:33 am
Subject: Re: plot colored ellipses

On Friday, March 30, 2012 4:42:09 AM UTC-8, alx wrote:
> On 30 mar, 08:01, bing999 <thibaultga...@gmail.com> wrote:
> > Hi,

> > thanks for your reply.

> > i have been able to make simple ellipse plots with the tvellipse
> > routine, as Wayne suggested. However, it is hard to make nice images
> > with this tool... Before giving a real try at function graphics, do
> > you think that it will really allow to make good pictures with color
> > gradients ? I am asking that since I never used this tool so far and
> > it looks much more complex than standard plot routines... :)
> > Would you have examples of beautiful images computed with the function
> > graphics?
> > Cheers
> > Dreamer

> Here is Wayne's example written by using function graphics :

> pl = plot([0,100], [0,100], /NODATA)
> x = [10,40,80]
> y = [20,70,60]
> orient = [80,140,0]
> for i=0,2 do begin
>   !null = ellipse(x[i], y[i], MAJOR=12, MINOR=6, THETA=orient[i], /
> DATA, FILL_COLOR=!COLOR.FIREBRICK)
>   !null = ellipse(x[i], y[i], MAJOR=8, MINOR=4, THETA=orient[i], /
> DATA, FILL_COLOR=!COLOR.SALMON)
> endfor

> then, while adding another ellipse with "manual" color blending :

> pl.Refresh, /DISABLE
> !null = ellipse(60, 20, MAJOR=20, MINOR=10, /DATA, FILL_COLOR=!
> COLOR.FIREBRICK)
> for i=0,19 do !null = ellipse(60, 20, MAJOR=20*i*0.05,
> MINOR=10*i*0.05, LINESTYLE=6, $
>   /DATA, FILL_COLOR=!COLOR.SALMON, FILL_TRANSPARENCY=6*i < 100)
> pl.Refresh

> alx.

I like that.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.