Hellow Paul,
I thought I should show an example plot which shows the idea of what I was asking about corrplot. Below link shows it.
http://matplotlib.org/examples/pylab_examples/multi_image.html
On Tue, 17/3/15, Sudheer Joseph <sudheer.joseph@…9…> wrote:
Subject: Re: [Matplotlib-users] Corr plot in subplot
To: “Paul Hobson” <pmhobson@…287…>, “Adam Hughes” <hughesadam87@…287…>
Cc: “Matplotlib Users” matplotlib-users@lists.sourceforge.net
Date: Tuesday, 17 March, 2015, 8:31 AM
Hi Paul,
I could not succeed in
plotting corrplot.Corrplot(df,ax=ax1).
infact the plotting procedure is
c=corrplot.Corrplot(df,ax=ax1)
then issue command
c.plot().
So there are 2 steps involved, which may be the
complication. I am not very well versed with Matplotlib.
Kindly help.
On Fri, 13/3/15, Adam Hughes <hughesadam87@…287…> > > wrote:
Subject: Re:
[Matplotlib-users] Corr plot in subplot
To:
“Paul Hobson” <pmhobson@…287…>
Cc: “Sudheer Joseph” <sudheer.joseph@…9…>,
“Matplotlib Users” matplotlib-users@lists.sourceforge.net
Date: Friday, 13 March, 2015, 7:06 PM
All the
pandas plots that I’ve used take an axes keyword so
try:
c =
corrplot.Corrplot(df, ax=ax1)
or
c =
corrplot.Corrplot(df, axes=ax1)
Do either of those
work?
On Fri,
Mar 13, 2015 at 2:04
PM, Paul Hobson <pmhobson@…287…>
wrote:
What’s the
function signature of
corrplot.CorrPlot?
Hopefully you can pass an Axes object to
it
argument.-p
On Fri, Mar 13, 2015 at > > 9:02 AM, Sudheer Joseph <sudheer.joseph@…9…> > > wrote:
Dear
Matplotlib exprets,
I am
trying to place the corrplot in subplot environment.
But not able to figure out how to do it
properly. Can any
one advice please?
from
biokit.viz import corrplot
df = pd.DataFrame(dict(( (k,
np.random.random(10)+ord(k)-65)
for k in
letters)))
df =
df.corr()
c =
corrplot.Corrplot(df)
I wanted to make the
corrplot in below 4 boxes which can
come
out as a single figure. The above data is a test data
actually I wanted use seasonal data for this
purpose.
fig = plt.figure()
fig.subplots_adjust(left=0.2, wspace=0.6)
ax1 = fig.add_subplot(221)
ax2 =
fig.add_subplot(222)
ax3
= fig.add_subplot(223)
ax4 = fig.add_subplot(224)
Sudheer Joseph
Indian National Centre for
Ocean Information Services
Ministry of Earth Sciences, Govt. of India
POST BOX NO: 21, IDA
Jeedeemetla P.O.
Via
Pragathi Nagar,Kukatpally, Hyderabad; Pin:5000 55
Tel:+91-40-23886047(O),Fax:+91-40-23895011(O),
Tel:+91-40-23044600®,Tel:+91-40-9440832534(Mobile)
E-mail:sjo.India@…287…;sudheer.joseph@…9…
Web- http://oppamthadathil.tripod.com
Dive into the World of
Parallel Programming The Go Parallel
Website, sponsored
by
Intel and developed in partnership with Slashdot Media,
is your hub for all
things parallel software development, from
weekly thought
leadership blogs to
news, videos, case studies,
tutorials and more. Take a look
and join
the
conversation now. http://goparallel.sourceforge.net/
Matplotlib-users mailing
list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Dive into the World of
Parallel Programming The Go Parallel
Website, sponsored
by
Intel and developed in partnership with Slashdot Media,
is your hub for all
things parallel software development, from
weekly thought
leadership blogs to
news, videos, case studies,
tutorials and more. Take a look
and join
the
conversation now. http://goparallel.sourceforge.net/
Matplotlib-users mailing
list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users