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
contourf with no isolines
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
Shani Gal  
View profile  
 More options Feb 13, 1:20 pm
Newsgroups: comp.soft-sys.matlab
From: "Shani Gal" <shanig...@walla.co.il>
Date: Mon, 13 Feb 2012 18:20:11 +0000 (UTC)
Local: Mon, Feb 13 2012 1:20 pm
Subject: contourf with no isolines
Hi
How do I plot a contourf plot only with colors and no isolines?

"filled contour plot displays isolines calculated from matrix Z and fills the areas between the isolines using constant colors corresponding to the current figure's colormap"

I wish to have only the color between the isolines but no isolines..

Thanks

Shani


 
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.
TideMan  
View profile  
 More options Feb 13, 2:10 pm
Newsgroups: comp.soft-sys.matlab
From: TideMan <mul...@gmail.com>
Date: Mon, 13 Feb 2012 11:10:10 -0800 (PST)
Local: Mon, Feb 13 2012 2:10 pm
Subject: Re: contourf with no isolines
On Feb 14, 7:20 am, "Shani Gal" <shanig...@walla.co.il> wrote:

> Hi
> How do I plot a contourf plot only with colors and no isolines?

> "filled contour plot displays isolines calculated from matrix Z and fills the areas between the isolines using constant colors corresponding to the current figure's colormap"

> I wish to have only the color between the isolines but no isolines..

> Thanks

> Shani

Try this:
[cs,hc]=contourf(x,y,z);
set(hc,'EdgeColor','none')

 
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.
Alan Weiss  
View profile  
 More options Feb 13, 2:18 pm
Newsgroups: comp.soft-sys.matlab
From: Alan Weiss <awe...@mathworks.com>
Date: Mon, 13 Feb 2012 14:18:03 -0500
Local: Mon, Feb 13 2012 2:18 pm
Subject: Re: contourf with no isolines
On 2/13/2012 2:10 PM, TideMan wrote:

> On Feb 14, 7:20 am, "Shani Gal"<shanig...@walla.co.il>  wrote:
>> Hi
>> How do I plot a contourf plot only with colors and no isolines?

>> "filled contour plot displays isolines calculated from matrix Z and fills the areas between the isolines using constant colors corresponding to the current figure's colormap"

>> I wish to have only the color between the isolines but no isolines..

>> Thanks

>> Shani

> Try this:
> [cs,hc]=contourf(x,y,z);
> set(hc,'EdgeColor','none')

Or even simpler:
[C,h] = contourf(peaks(20),10,'LineStyle','none');

Alan Weiss
MATLAB mathematical toolbox documentation


 
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.
Ulf Graewe  
View profile  
 More options Feb 14, 10:04 am
Newsgroups: comp.soft-sys.matlab
From: "Ulf Graewe" <ulf.gra...@io-warnemuende.de.skip.this>
Date: Tue, 14 Feb 2012 15:04:48 +0000 (UTC)
Local: Tues, Feb 14 2012 10:04 am
Subject: Re: contourf with no isolines

> I wish to have only the color between the isolines but no isolines..

Hi Shani,
try something like this:
contourf(peaks,30,'edgecolor','none')

 
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.
Yuheng  
View profile  
 More options Feb 14, 10:04 am
Newsgroups: comp.soft-sys.matlab
From: "Yuheng " <e2_71...@tom.com>
Date: Tue, 14 Feb 2012 15:04:48 +0000 (UTC)
Local: Tues, Feb 14 2012 10:04 am
Subject: Re: contourf with no isolines

"Shani Gal" wrote in message <jhbk8q$r8...@newscl01ah.mathworks.com>...
> Hi
> How do I plot a contourf plot only with colors and no isolines?

> "filled contour plot displays isolines calculated from matrix Z and fills the areas between the isolines using constant colors corresponding to the current figure's colormap"

> I wish to have only the color between the isolines but no isolines..

> Thanks

> Shani

Try

[c, h] = contourf(peaks);
set(h,'linestyle','none')


 
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.
End of messages
« Back to Discussions « Newer topic     Older topic »