If all your values are positive (and you are sure of it), you could
use the SymmetricalLogScale  It uses log scale for large values (both
positive and negative), and linear for small ones.

http://matplotlib.sourceforge.net/devel/add_new_projection.html

I believe there is a way to do it without going symetrical (ie, only
defined for positive values), but I am unable to find it.

On Wed, Jun 13, 2012 at 7:31 PM, jonasr <jonas.rueb...@web.de> wrote:
>
> Hi,
>
> im actually trying to make a countour plot Z=f(X,Y) from two variables X,Y .
> My Problem is that i have to use a logarithmic scale for the Z values.
> If i plot the data with the logarithmic scale it gets pretty ugly, because i
> have a lot of values which are zero,
> which means on the log scale the value goes to -inf.
> Here is an example what i mean
>
> http://www.imagebanana.com/view/qh1khpxp/example.png
>
> I acutally have no idea how to make the plot look better,
> maybe somebody has an idea ?
>
> thank you
> --
> View this message in context: 
> http://old.nabble.com/logairthmic-contour-plot-tp34007155p34007155.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to