Hi

Your code wans't included, but try setting your x and y limits *before* the 
call to clabel.  I think that the problem is that clabel makes a space in the 
contours according to how large your font is, but if you then resize the plot 
(zoom in) then the blank space is too large for the labels.  

Cheers,   Jody


> On Dec 4, 2014, at  17:47 PM, Sappy85 <[email protected]> wrote:
> 
> I have trouble with matplotlib / pyplot / basemap. I plot contour lines (air
> pressure) on a map. I use clabel to show the value of the contour lines. But
> the problem: the padding between the value and the contour line is too much.
> I have found the parameter "inline_spacing", which i have set to zero. But
> there is still to much free space. Any ideas?
> 
> <http://matplotlib.1069221.n5.nabble.com/file/n44554/mslp.png> 
> 
> My code is as follows:
> 
> 
> 
> 
> Thanks a lot. 
> 
> 
> 
> --
> View this message in context: 
> http://matplotlib.1069221.n5.nabble.com/Pyplot-contour-plot-clabel-padding-tp44554.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Matplotlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to