SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Jordan D. <jd...@eo...> - 2007年08月31日 23:32:52
I've been trying to plot a pcolor over a contourf with a masked array in 
the pcolor so that parts of the contour will show through underneath, 
but whenever I try to do this the pcolor wipes out the contourf. I can 
do this fine with a contourf over another contourf, but I'm plotting 
model topography, and I would really prefer to leave the discretization 
visible instead of showing contourf's interpolation. Any way to get a 
pcolor to plot over a contourf without wiping out the contourf beneath it?
Jordan
From: Eric F. <ef...@ha...> - 2007年09月01日 04:01:20
Jordan Dawe wrote:
> I've been trying to plot a pcolor over a contourf with a masked array in 
> the pcolor so that parts of the contour will show through underneath, 
> but whenever I try to do this the pcolor wipes out the contourf. I can 
> do this fine with a contourf over another contourf, but I'm plotting 
> model topography, and I would really prefer to leave the discretization 
> visible instead of showing contourf's interpolation. Any way to get a 
> pcolor to plot over a contourf without wiping out the contourf beneath it?
> 
> Jordan
Jordan,
I'm not sure I understand what you are trying to do; please provide a 
simple, self-contained script that illustrates the problem. (Is the 
contour supposed to be seen through holes in the pcolor where it is 
masked? Or are you talking about using transparency?)
Eric
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /