Thank you,
I don't see a way other than starting in normal mode as the moment I type
plot command it get displayed and I don't need to do a show command.
With best regards sudheer--
This SF.net email is sponsored by Windo
Thank you Roban,
Your that trick worked,
if I keep ts.plot(), savefig('ts.pdf') both on same line it works!
with best regards
Sudheer
***
Sudheer Joseph
Indian National Centre for Ocean Information Services
Ministr
Hi,
in this example:
import numpy as np
import matplotlib.pyplot as plt
arr = np.random.random((10, 10))
plt.contourf(arr, 10)
plt.contourf(arr, 10, cmap='coolwarm', levels=np.arange(0, 1, .2), alpha=.5)
plt.colorbar()
plt.show()
Hi Paul,
I've modified your suggestion a little, since I don't want a grid for the
primary axis at all -- unfortunately to no avail, i.e. no grid line at all:
import numpy
import matplotlib
matplotlib.use('agg')
import matplotlib.pyplot as plt
datax = numpy.arange(50)
data1 = numpy.sin(data
On Thu, Jun 13, 2013 at 4:47 AM, Daniel Mader <
danielstefanma...@googlemail.com> wrote:
> Hi,
>
> I need a twinx() plot with horizontal and vertical grid lines for the
> second axis, just like the usual grid for the first axis. I don't need or
> want to specify the ticks manually, though!
>
> My
close_figures, not close_all
Haven't tried to switch it at run time using %config magic though.
$ ipython [qtconsole|notebook|whatever] --help-all
to get all option as examples in config files are **not** updated with IPython.
InlineBackend options
-
--InlineBackend.close_
savefig works for me when I put both the plotting commands and the savefig
call in the *same* code cell.
On Thu, Jun 13, 2013 at 10:31 AM, Sudheer Joseph
wrote:
> Thank you,
> I don't see a way other than starting in normal mode as the moment I type
> plot command it get displayed and I don't ne
Dear Lado,
You should be able to do it simply by calling countourf multiple times
changing the alpha value (or setting it to something like 0.5)
plt.contourf(..., alpha=0.8, ...)
plt.contourf(..., alpha=0.6, ...)
plt.contourf(..., alpha=0.4, ...)
The problem comes when you want to sa
Thank you,
I don't see a way other than starting in normal mode as the moment I type
plot command it get displayed and I don't need to do a show command.
With best regards sudheer--
This SF.net email is sponsored by Windo
How can I plot multiple overlaid transparent contour plots in matplotlib?
The link below has a plot that shows I am trying to achieve.
https://docs.google.com/file/d/0B4HYv5Dbtu1Zb1VtOG9PTkJCeVU/edit?usp=sharing
--
This SF
On Wed, Jun 12, 2013 at 10:28 PM, Sudheer Joseph
wrote:
> Dear experts,
> I start ipython in ipython qtconsole --pylab=inline mode and make a plot.
> But if I use savefig('fig.png') the figure do not get saved instead I get a
> blank page.
>
> I also tried img.save('fig.png',png) but no use. Is t
Hi,
I need a twinx() plot with horizontal and vertical grid lines for the
second axis, just like the usual grid for the first axis. I don't need or
want to specify the ticks manually, though!
My example code just produces horizontal lines:
import pylab
datax = pylab.arange(50)
data1 = pylab.s
12 matches
Mail list logo