|
From: Sudheer J. <sud...@ya...> - 2015-03-13 16:02:54
|
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(R),Tel:+91-40-9440832534(Mobile) E-mail:sjo...@gm...;sud...@ya... Web- http://oppamthadathil.tripod.com *************************************************************** |
|
From: Paul H. <pmh...@gm...> - 2015-03-13 18:04:26
|
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 <sud...@ya...> 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(R),Tel:+91-40-9440832534(Mobile) > E-mail:sjo...@gm...;sud...@ya... > 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Adam H. <hug...@gm...> - 2015-03-13 19:06:27
|
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 <pmh...@gm...> 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 <sud...@ya...> > 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(R),Tel:+91-40-9440832534(Mobile) >> E-mail:sjo...@gm...;sud...@ya... >> 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 >> Mat...@li... >> 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
|
From: Sudheer J. <sud...@ya...> - 2015-03-14 10:25:30
|
Thank you Adam,
I did not see your response earlier. It worls.
Thanks
Sudheer
***
--------------------------------------------
On Fri, 13/3/15, Adam Hughes <hug...@gm...> wrote:
Subject: Re: [Matplotlib-users] Corr plot in subplot
To: "Paul Hobson" <pmh...@gm...>
Cc: "Sudheer Joseph" <sud...@ya...>, "Matplotlib Users" <mat...@li...>
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 <pmh...@gm...>
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 <sud...@ya...>
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(R),Tel:+91-40-9440832534(Mobile)
E-mail:sjo...@gm...;sud...@ya...
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
Mat...@li...
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
Mat...@li...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
|
|
From: Sudheer J. <sud...@ya...> - 2015-03-14 10:42:50
|
Sorry,
I tried both ax= and axes= both did not work. before testing I thought it is the correct way but did not work some how.
WIth best regards.
Sudheer
fig = plt.figure()
fig.subplots_adjust(left=0.001, wspace=0.01)
ax1 = fig.add_subplot(221);corrplot.Corrplot(df_djf,axes=ax1)
ax2 = fig.add_subplot(222);corrplot.Corrplot(df_mam,axes=ax2)
ax3 = fig.add_subplot(223);corrplot.Corrplot(df_jja,axes=ax3)
ax4 = fig.add_subplot(224);corrplot.Corrplot(df_son,axes=ax4)
...:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-7-c3cf513439f4> in <module>()
1 fig = plt.figure()
2 fig.subplots_adjust(left=0.001, wspace=0.01)
----> 3 ax1 = fig.add_subplot(221);corrplot.Corrplot(df_djf,axes=ax1)
4 ax2 = fig.add_subplot(222);corrplot.Corrplot(df_mam,axes=ax2)
5 ax3 = fig.add_subplot(223);corrplot.Corrplot(df_jja,axes=ax3)
TypeError: __init__() got an unexpected keyword argument 'axes'
--------------------------------------------
On Fri, 13/3/15, Adam Hughes <hug...@gm...> wrote:
Subject: Re: [Matplotlib-users] Corr plot in subplot
To: "Paul Hobson" <pmh...@gm...>
Cc: "Sudheer Joseph" <sud...@ya...>, "Matplotlib Users" <mat...@li...>
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 <pmh...@gm...>
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 <sud...@ya...>
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(R),Tel:+91-40-9440832534(Mobile)
E-mail:sjo...@gm...;sud...@ya...
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
Mat...@li...
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
Mat...@li...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
|
|
From: Sudheer J. <sud...@ya...> - 2015-03-17 08:31:32
|
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 <hug...@gm...> wrote:
Subject: Re: [Matplotlib-users] Corr plot in subplot
To: "Paul Hobson" <pmh...@gm...>
Cc: "Sudheer Joseph" <sud...@ya...>, "Matplotlib Users" <mat...@li...>
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 <pmh...@gm...>
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 <sud...@ya...>
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(R),Tel:+91-40-9440832534(Mobile)
E-mail:sjo...@gm...;sud...@ya...
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
Mat...@li...
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
Mat...@li...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
|
|
From: Sudheer J. <sud...@ya...> - 2015-03-17 08:36:45
|
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 <sud...@ya...> wrote:
Subject: Re: [Matplotlib-users] Corr plot in subplot
To: "Paul Hobson" <pmh...@gm...>, "Adam Hughes" <hug...@gm...>
Cc: "Matplotlib Users" <mat...@li...>
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 <hug...@gm...>
wrote:
Subject: Re:
[Matplotlib-users] Corr plot in subplot
To:
"Paul Hobson" <pmh...@gm...>
Cc: "Sudheer Joseph" <sud...@ya...>,
"Matplotlib Users" <mat...@li...>
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 <pmh...@gm...>
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 <sud...@ya...>
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(R),Tel:+91-40-9440832534(Mobile)
E-mail:sjo...@gm...;sud...@ya...
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
Mat...@li...
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
Mat...@li...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
|
|
From: Paul H. <pmh...@gm...> - 2015-03-17 14:08:09
|
I'm confused is corrplot a matplotlib function? If it's not, there's not much we can do. You should probably just modify it to accept axes as parameters. — Sent from Mailbox On Tue, Mar 17, 2015 at 1:36 AM, Sudheer Joseph <sud...@ya...> wrote: > 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 <sud...@ya...> wrote: > Subject: Re: [Matplotlib-users] Corr plot in subplot > To: "Paul Hobson" <pmh...@gm...>, "Adam Hughes" <hug...@gm...> > Cc: "Matplotlib Users" <mat...@li...> > 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 <hug...@gm...> > wrote: > > Subject: Re: > [Matplotlib-users] Corr plot in subplot > To: > "Paul Hobson" <pmh...@gm...> > Cc: "Sudheer Joseph" <sud...@ya...>, > "Matplotlib Users" <mat...@li...> > 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 <pmh...@gm...> > 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 <sud...@ya...> > 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(R),Tel:+91-40-9440832534(Mobile) > > E-mail:sjo...@gm...;sud...@ya... > > 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 > > Mat...@li... > > 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 > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > |
|
From: Sudheer J. <sud...@ya...> - 2015-03-14 07:52:52
|
Thank you Paul,
I could not follow fully what you meant by that in reply. but below is the info available with corrplot.
Kindly provide some help.
With best regards,
Sudheer
Here are some examples provided that the data is created and pass to c::
|
| c = corrplot.Corrplor(dataframe)
| c.plot(cmap=('Orange', 'white', 'green'))
| c.plot(method='circle')
| c.plot(colorbar=False, shrink=.8, upper='circle' )
|
--------------------------------------------
On Fri, 13/3/15, Paul Hobson <pmh...@gm...> wrote:
Subject: Re: [Matplotlib-users] Corr plot in subplot
To: "Sudheer Joseph" <sud...@ya...>
Cc: "Matplotlib Users" <mat...@li...>
Date: Friday, 13 March, 2015, 6:04 PM
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 <sud...@ya...>
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(R),Tel:+91-40-9440832534(Mobile)
E-mail:sjo...@gm...;sud...@ya...
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
Mat...@li...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
|