Paul Ivanov wrote:
> Neal Becker, on 2011-01-05 08:19, wrote:
>> I want to plot semilogy with major and minor grid. I tried:
>>
>> plt.grid(which='both')
>>
>> But 2 problems:
>>
>> 1) For semilogy, most of my viewers will expect to see 10 minor
>> ticks/major tick. I got 5. How do I change
Neal Becker, on 2011-01-05 08:19, wrote:
> I want to plot semilogy with major and minor grid. I tried:
>
> plt.grid(which='both')
>
> But 2 problems:
>
> 1) For semilogy, most of my viewers will expect to see 10 minor
> ticks/major tick. I got 5. How do I change it?
Hi Neal,
odd, it works
I want to plot semilogy with major and minor grid. I tried:
plt.grid(which='both')
But 2 problems:
1) For semilogy, most of my viewers will expect to see 10 minor ticks/major
tick. I got 5. How do I change it?
2) I'd like the major ticks to be solid lines, and minor ticks to be dashed. I
On 5/14/2010 9:03 AM, Matthias Michler wrote:
> ax = fig.add_subplot(111, yscale='log')
>
> or for any other generated axes 'ax'
> ax.set_yscale('log')
>
>
Somehow I was unaware of this possibility.
Excellent!
Thanks,
Alan
On Thursday, May 13, 2010 12:31:08 am Alan G Isaac wrote:
> What is the preferred method to do the equivalent of plot_date
> with log scaling for the non-date values?
>
> Thanks,
> Alan Isaac
Hi Alan,
What about using 'plot_date' ans scaling the y-axis by hand?
In the example 'date_demo1.py' you
What is the preferred method to do the equivalent of plot_date
with log scaling for the non-date values?
Thanks,
Alan Isaac
--
___
Matplotlib-users mailing list
Matplotlib-use
with hold=False, the axes is reset whenever something new is added to
the axes. Instead of using pylab.hold(False), clear the figure or axes
explicitly (clf() or cla())
-JJ
On Mon, Oct 5, 2009 at 9:58 PM, Ross Anderson wrote:
> Hi all,
>
> I'm making multiple semilogy histograms, which for now
Hi all,
I'm making multiple semilogy histograms, which for now are on separate
figures and not in subplots. Here's something patched together:
def makehistogram(data,strtitle, filename):
fig = Figure()
pylab.hold(False)
pylab.semilogy(base=10)
n, bins, patches = pylab.hist(data, 50
A simple solution would be:
numbers, text = yticks()
mytext = ['%.2f' % n for n in numbers]
yticks(numbers, mytext)
If you need fancier formatting look at Ticker and Formatter API
http://matplotlib.sourceforge.net/matplotlib.ticker.html
For sure there's something about this in the examples as wel
Hi guys.
I'm just a newbie at matplotlib. I couldn't find the answer on my
quistion in project's docs.
I've wrote the following code:
from pylab import *
semilogy([1, 5, 2, 3, 1, 6], basey=2)
show()
It works OK but I'd like to see usual decimal numbers instead of 2^0,
2^1, 2^2 ... on y axis.
Ho
10 matches
Mail list logo