The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: activate axes for pcolor shading
Replies: 2   Last Post: Aug 2, 2011 2:19 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 16
Registered: 2/10/09
activate axes for pcolor shading
Posted: Aug 2, 2011 9:38 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I am plotting a two subplot graphic with a pcolor plot in each subplot (using axes):

fig = figure;
hdnl = axes('Position',[0 0 1 1], 'visible','off');
axes1 = axes('Outerposition',[...],'Parent',fig);
axes2 = axes(...);


shading interp;

Problem: The pcolor graphic is black. "shading interp" isn't being recognized for axes1 as axes2 is active. I've tried various options along the lines of get(axes1), but I'm not really sure what the right command is and nothing seems to be working. I'm sure it's straightforward...just need a little tip.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.