Re: [Matplotlib-users] Problems to plot more than 9 subplots

2013-02-19 Thread patricia
Thanks Andreas,
Yes I usually do the same, but in this case I am not managing to do it due
to the functions being used. It does not allow me to put (7,3, nfig) inside
the "xx = TaylorDiagram(refstd, fig=fig, rect=122, label="xx")".
This is the code that I am using:
http://old.nabble.com/Taylor-diagram-(2nd-take)-p33364690.html
Do you see an easy way of adding more than 9 Taylor diagrams subplots in
test1 for example?
Thanks again,
Patricia





--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/Problems-to-plot-more-than-9-subplots-tp40440p40442.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Problems to plot more than 9 subplots

2013-02-19 Thread patricia
Thanks a lot! Works now!



--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/Problems-to-plot-more-than-9-subplots-tp40440p40444.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] I cannot change the axis tick separation or nbins in Axis artist

2013-02-20 Thread patricia
Hi,
I am working on a plot that requires AxisArtist and I cannot set the tick
separation (or nbins) that I want to avoid overlapping of ticklabels. I read 
http://www.ce.mu.edu.tr/sharedoc/python-matplotlib-doc-1.0.1/html/mpl_toolkits/axes_grid/users/axisartist.html#gridhelper,
 
where they suggest to use the classical set_ticks, but it doesn't work.
  ax.xaxis.set_ticks() does not makes any difference, the ticks are same as
originally, and
  ax.axis["left"].set_ticks() results in an error: 'AxisArtist' object has
no attribute 'set_ticks'  
Can somebody help me?
Thanks in advance,
Patricia



--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/I-cannot-change-the-axis-tick-separation-or-nbins-in-Axis-artist-tp40446.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] I cannot change the axis tick separation or nbins in Axis artist

2013-02-20 Thread patricia
Dear Jody,
No, I tried it also...
 ax.axis["left"].xticks() results in error: 'AxisArtist' object has no
attribute 'xticks'
 ax.xticks() results in error:  'Floating AxesHostAxesSubplot' object has no
attribute 'xticks'
 plt.xticks() or just xticks() does not produce any change. 
Any idea?

http://www.ce.mu.edu.tr/sharedoc/python-matplotlib-doc-.0.1/html/mpl_toolkits/axes_grid/users/axisartist.html#gridhelper
 
gives some explanation with the The GridHelperRectlinear, but I cannot make
it work

Thanks,
Patricia



--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/I-cannot-change-the-axis-tick-separation-or-nbins-in-Axis-artist-tp40446p40448.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] I cannot change the axis tick separation or nbins in Axis artist

2013-02-21 Thread patricia
Dear Jody,
This is the original code that I am using:
http://old.nabble.com/Taylor-diagram-(2nd-take)-p33364690.html
It is a code that plots Taylor diagrams. 
I would like to get ticks every two points in the standard deviation axis of
the Taylor diagrams to avoid overlapping of labels (as I am making a figure
with several small Taylor Diagrams subplots).
Thanks!
Patricia



--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/I-cannot-change-the-axis-tick-separation-or-nbins-in-Axis-artist-tp40446p40454.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] I cannot change the axis tick separation or nbins in Axis artist

2013-02-24 Thread patricia
Thanks a lot JJ, this worked perfectly!
Patricia



--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/I-cannot-change-the-axis-tick-separation-or-nbins-in-Axis-artist-tp40446p40467.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] how do label with matshow

2010-08-20 Thread Patricia


Hi all,

I start using matplotlib a month ago, so I'm still learning.
I'm trying to do a heatmap with matshow. My code is the following:

data = numpy.array(a).reshape(4, 4)
cax = ax.matshow(data, interpolation='nearest', cmap=cm.get_cmap('PuBu'),
norm=LogNorm())
cbar = fig.colorbar(cax)

ax.set_xticklabels(alpha)
ax.set_yticklabels(alpha)

where alpha is a model from django with 4fields: 'ABC', 'DEF', 'GHI', 'JKL'

the thing is that I don't know why, the label 'ABC' doesn't appear, leaving the
last cell without label.
I would like to known how do I properly label my heatmap, when I use set_ticks
the figure decrease size and the colorbar stay bigger than the figure.
If someone would have a clue how to modify my script in a way to appear the
'ABC' I would be grateful :)



--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Interactive data plotting Matplotlib

2010-12-10 Thread Skelton, Patricia
This message (and attachments) is subject to restrictions and a disclaimer. 
Please refer to http://www.unisa.ac.za/disclaimer for full details.


Hi

I have a text file containing experimental data obtained over the course of two 
years.  The data were obtained on a daily basis.  Having inspected some of the 
data in Excel (there are over 15 000 points), I noticed that there are a couple 
of points that should not be included in the final data analysis.  I want to 
write a python programme that does the following:


1.Creates a plot of the data taken on day 1.

2.   Allows the user to click on the "bad data" and then writes these 
points to either a text file or a list(which can then be written to a text file 
at a later stage).

3.   If all the bad data points have been selected ( or if there are no bad 
points) then, following an indication by the user (i.e. either via a key press 
event or the user clicking outside the plot area), plot the data of the next 
day.

What I want the programme to do is repeat the above steps until it reaches the 
end of the data file and then at the end, I want a text file containing the 
information of the bad points which I can then remove from the main data file 
at a later stage.  I know that one way of obtaining the information of the bad 
points is to use event handling, especially the 'button_press_event' and 
creating a MouseMonitor class.  What I'm specifically having trouble with is 
figuring out how I can get the programme to run through all the data, all the 
while keeping the 'button_press_event' connected/active and writing all the bad 
data to a text file.  Only at the end of all the data, do I want to disconnect 
the 'button_press_event' (unless of course there is a better way of doing this).

Any help will be greatly appreciated.

Thanks

Pat
--
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev ___
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users