On Mon, Mar 4, 2013 at 8:26 PM, Sudheer Joseph <sudheer.jos...@yahoo.com>wrote:
> Thanks to all Matplotlib experts for extending help,
> With the suggestions I could make the script work and I am close to the
> target I had in mind,
> Below script produces as depth longitude contou-filled plot.
> However I have below concerns,
> 1) There is a wide gap between label and the contours ie it appears like
> ------ 2.4 ......... is there a way to reduce this gap?
>
Try inline=False for the clabel call, but that might over-do it.
> 2) The labels are appearing cluttered at about 100m depth though they culd
> have spread apart at each level. Is there a way to control their placing to
> avoid cluttering?
>
This has been a long-standing issue with matplotlib. There has been
improvements, but it still isn't perfect. I am not familiar with some of
the newer tricks that are available.
> 3) Is there a way to make the longitude as in case of maps ie can the x
> axis labels be 50E 60E ... 90E
>
You can set the tick formatter. Here is one example of how to do it.
http://matplotlib.org/examples/pylab_examples/custom_ticker1.html
I hope that helps!
Ben Root
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users