Re: [Matplotlib-users] xticks not lining up with data

2015-06-17 Thread Ted To
also be the reason for a ValueError. So you would need to use whatever pandas variable that indices.index derived from. Ben Root On Wed, Jun 17, 2015 at 12:48 PM, Ted To rainexpec...@theo.to wrote: Unless I recall incorrectly, I think I am using set_xticklabels because indices.index

[Matplotlib-users] xticks not lining up with data

2015-06-17 Thread Ted To
'\textsf{Month}') plt.ylabel(r'\textsf{Index value}') ax.set_xticklabels(indices.index) Any ideas what I'm doing wrong? Thanks, Ted -- ___ Matplotlib-users mailing list

Re: [Matplotlib-users] xticks not lining up with data

2015-06-17 Thread Ted To
Unless I recall incorrectly, I think I am using set_xticklabels because indices.index are strings. When I tried specifying ax.plot(indices.index,indices.carli) I get a ValueError. Ted On 2015-06-17 10:28 am, Benjamin Root wrote: Why are you calling ax.set_xticklabels()?. Why not pass the x

[Matplotlib-users] Multiple lines of xtick_labels

2014-08-15 Thread Ted To
to a 2nd line? A minor problem that maybe someone knows the answer to is, how do I increase the width of the x axis so that there is some space before and after the first and last ticks? (ax1.set_xlim(-.5,7.5) does not seem to work.) Many thanks, Ted fig,ax1=plt.subplots() ax1.errorbar

Re: [Matplotlib-users] Multiple lines of xtick_labels

2014-08-15 Thread Ted To
:38PM, Ted To wrote: Hi, I'm trying to set two lines of xtick_labels But I can't figure out how to get them on separate lines. These are for errorbars where I have two variables for each of four categories. Using the following code, I'm able to create the attached figure. How does one move

Re: [Matplotlib-users] Outline for histogram bars

2013-11-13 Thread Ted To
Thanks Ben! I was wondering if you can help me with a related question. How does one change the artist for the legend? Since I have a step histogram, it would be nice to have the legend display lines rather than outlined rectangles. Thanks, Ted On 11/13/2013 09:35 AM, Benjamin Root wrote

Re: [Matplotlib-users] Outline for histogram bars

2013-11-12 Thread Ted To
Perfect! Many thanks! Seems to be an undocumented feature... Out of curiosity, what is the rationale behind using 'dashed' and 'dashdot' instead of '--' and '-.'? Ted To On 11/12/2013 04:59 PM, Benjamin Root wrote: On Tue, Nov 12, 2013 at 4:26 PM, Ted To rainexpec...@theo.to

[Matplotlib-users] Strange plot_date problem

2012-02-08 Thread Ted To
enter dates and diff and then type the above commands, it works with no problems. Any ideas or suggestions? The traceback follows. Thanks, Ted Exception in Tkinter callback Traceback (most recent call last): File /usr/lib/python2.6/lib-tk/Tkinter.py, line 1413, in __call__ return self.func

Re: [Matplotlib-users] Strange plot_date problem

2012-02-08 Thread Ted To
If it hasn't been fixed, is there a workaround? On 02/08/2012 10:42 AM, Ted To wrote: I believe I have traced it to some axhline and axis commands and this is apparently an old problem. Does it work with version 1.1.0? I have 1.0.1 installed on a debian system. On 02/08/2012 09:47 AM, Ted

Re: [Matplotlib-users] Strange plot_date problem

2012-02-08 Thread Ted To
On 02/08/2012 11:17 AM, John Hunter wrote: On Wed, Feb 8, 2012 at 10:06 AM, Ted To rainexpec...@theo.to mailto:rainexpec...@theo.to wrote: If it hasn't been fixed, is there a workaround? On 02/08/2012 10:42 AM, Ted To wrote: I believe I have traced it to some axhline

[Matplotlib-users] plot_date again

2012-02-08 Thread Ted To
if they were both the same. Thanks, Ted chicagoMonthStoreUPCChainedIndices.pdf Description: Adobe PDF document chicagoWeekStoreUPCChainedIndices.pdf Description: Adobe PDF document -- Keep Your Developer Skills Current

Re: [Matplotlib-users] plot_date again

2012-02-08 Thread Ted To
On 02/08/2012 02:22 PM, John Hunter wrote: On Wed, Feb 8, 2012 at 1:12 PM, Ted To rainexpec...@theo.to mailto:rainexpec...@theo.to wrote: Is it possible to force the date ticks to be the same in two different plots? For example, the attached figures cover the same time spans

Re: [Matplotlib-users] Inserting an Image into a Subplot

2010-10-25 Thread Ted Kord
Thanks for the links and suggestions. Worked fine. Thx Ted On 25 October 2010 03:08, Jae-Joon Lee lee.j.j...@gmail.com wrote: There are a few ways to show images, where using imshow is one of them. http://matplotlib.sourceforge.net/api/pyplot_api.html?highlight=imshow

[Matplotlib-users] Inserting an Image into a Subplot

2010-10-24 Thread Ted Kord
Is it possible to insert an image in subplots? If it is, could some examples and possible documentation links be provided. Thx Ted -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new

Re: [Matplotlib-users] Ticks Size

2010-10-19 Thread Ted Kord
Thanks all. That fixed the problem. Ted On 19 October 2010 00:02, Gökhan Sever gokhanse...@gmail.com wrote: On Mon, Oct 18, 2010 at 5:36 PM, Eric Firing efir...@hawaii.edu wrote: setp(xticks, markeredgewidth=4) Ticks are markers. Eric Good catch. Thanks for the fix. -- Gökhan

[Matplotlib-users] 'Spine' object has no attribute 'set_smart_bounds'

2010-10-19 Thread Ted Kord
Hi I've just tried some of the source code from the Spine demos but I when I try : ax.spines['bottom'].set_smart_bounds(True) I get the error: 'Spine' object has no attribute 'set_smart_bounds' What could be the problem? Ted

[Matplotlib-users] Ticks Size

2010-10-18 Thread Ted Kord
Hi How do I make the tick size bigger as in thicker/bolder? matplotlib.rc('ytick.major', size=5) makes it longer but 'not' thicker. Ted -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4

Re: [Matplotlib-users] legend font color

2010-09-17 Thread Ted Kord
It does this automatically. ted On 17 September 2010 19:13, musik xi.xiaoxi...@gmail.com wrote: Is there a way to set the legend font color? I am plotting multiple sets of data using different colors. I basically want to set each legend font color the same as the corresponding data line

Re: [Matplotlib-users] legend font color

2010-09-17 Thread Ted Kord
I misunderstood your question, musik. My apologies. Ted On 18 September 2010 02:15, Benjamin Root ben.r...@ou.edu wrote: On Fri, Sep 17, 2010 at 1:13 PM, musik xi.xiaoxi...@gmail.com wrote: Is there a way to set the legend font color? I am plotting multiple sets of data using different

[Matplotlib-users] Increase Padding Between Axis and Tick Labels

2010-09-13 Thread Ted Kord
Hi How do I increase the distance/padding between the tick labels (numbers) and the axis/axes? Ted -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment

Re: [Matplotlib-users] Increase Padding Between Axis and Tick Labels

2010-09-13 Thread Ted Kord
Thanks Alan. working nicely now. Ted On 13 September 2010 13:27, Alan G Isaac alan.is...@gmail.com wrote: On 9/13/2010 6:46 AM, Ted Kord wrote: How do I increase the distance/padding between the tick labels (numbers) and the axis/axes? http://matplotlib.sourceforge.net/users

[Matplotlib-users] Thicker Frame and Remove Part of Frame

2010-09-10 Thread Ted Kord
Hi How can I: 1. make the frame of the plot thicker and 2. remove the top and right of the frame. Thanks Ted -- Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful

[Matplotlib-users] Setting the Axis Limits in Mplot3D

2010-07-24 Thread Ted Kord
. Is there something I'm doing incorrectly? Thx Ted -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com

Re: [Matplotlib-users] Setting the Axis Limits in Mplot3D

2010-07-24 Thread Ted Kord
Ok. I'll look forward to that. Ted -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com

[Matplotlib-users] How to Set the Range of the Y-Axis on a Bar Chart

2010-06-08 Thread Ted Kord
Hi How do I set the range of the y-axis on a bar chart , e.g, from 0 to 100? Thanks Ted -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental

Re: [Matplotlib-users] How to Set the Range of the Y-Axis on a Bar Chart

2010-06-08 Thread Ted Kord
Thanks Ben. worked brilliantly. Ted On 8 June 2010 18:48, Benjamin Root ben.r...@ou.edu wrote: Ted, You can call ylim([0, 100]) after you create your plot. If you have the axes object (from gca()), you can directly manipulate the limits using set_ylim([0, 100]). Ben Root On Tue

Re: [Matplotlib-users] Show() in emacs

2010-05-26 Thread Ted Rosenbaum
Jonn-- Thanks very much. Customizing the backend to TkAgg solved the problem. Chloe--thanks for your advice as well! On Wed, May 26, 2010 at 3:21 PM, John Hunter jdh2...@gmail.com wrote: On Tue, May 25, 2010 at 10:40 PM, Ted Rosenbaum ted.rosenb...@yale.edu wrote: Hi, I am a real newbie

Re: [Matplotlib-users] Surface Plot

2010-02-09 Thread Ted Kord
Paul The example works fine and was quite instructive. Thx. Ted On 8 February 2010 21:41, phob...@geosyntec.com wrote: Ted, How does this example run for you? http://matplotlib.sourceforge.net/examples/pylab_examples/griddata_demo.html *From:* Ted Kord [mailto:teddy.k

[Matplotlib-users] Surface Plot

2010-02-08 Thread Ted Kord
=1, cmap=cm.jet) Is there a way that I can do this? Thank you. Ted -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business

Re: [Matplotlib-users] Surface Plot

2010-02-08 Thread Ted Kord
Hi Paul This helped immensely. Thanks. Ted -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans

Re: [Matplotlib-users] Surface Plot

2010-02-08 Thread Ted Kord
On 8 February 2010 17:37, phob...@geosyntec.com wrote: Hey Ted, I don't quite understand how you're getting the Z data below. But if you have 3D data in X, Y, and Z 1D-arrays, the griddata function should work for you. http://matplotlib.sourceforge.net/api/mlab_api.html

[Matplotlib-users] Surface Plot

2010-02-06 Thread Ted Kord
=1, cmap=cm.jet) Is there a way that I can do this? Thank you. Ted -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business

Re: [Matplotlib-users] save or pickle figure object

2008-09-17 Thread Ted Drain
and easy solutions have too many problems and aren't really maintainable. Ted -Original Message- From: Eric Firing [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2008 12:01 PM To: Ted Drain Cc: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] save

Re: [Matplotlib-users] Toolbar in QT

2008-05-08 Thread Ted Drain
The toolbar is just a widget so you can do that the same way you show any other widget in Qt. Something along the lines of: - build a widget - add a layout - add the figure widget to the layout - add the toolbar to the layout - connect them

Re: [Matplotlib-users] PNG filesize

2008-03-21 Thread Ted Drain
I'd guess PNG won't get much smaller because you have a lot of different colored pixels. PNG compresses most when you have a sparser plot. I'd suggest that you try using JPG. It will compress the multi-colored portion of your plot way down. You may see a few artifacts if you look carefully at

Re: [Matplotlib-users] Efficient scatter() w/ markers from plot()?

2008-03-20 Thread Ted Drain
the scatter example that uses them). My problem was that the point scale input needed to be 3-4 times larger than the default value for the marker to be visible. Once I changed that, everything worked fine. Thanks for the doc patch - that will help everyone else in the future... Ted

[Matplotlib-users] Efficient scatter() w/ markers from plot()?

2008-03-19 Thread Ted Drain
options from plot() (things like '+' and 'x') which don't work w/ scatter. What's the easiest way to get the markers from plot() with the efficiency (and multi-colors) from scatter? Thanks, Ted - This SF.net email

Re: [Matplotlib-users] Create powerpoint slide and/or presentation from script?

2008-02-11 Thread Ted Drain
and/or presentation from script? On Mon, 11 Feb 2008, Ted Drain apparently wrote: Does anyone know of a way to create a powerpoint slide from a plot? URL:http://code.google.com/p/econpy/source/browse/trunk/utilities/mso. py hth, Alan Isaac

[Matplotlib-users] Create powerpoint slide and/or presentation from script?

2008-02-11 Thread Ted Drain
having trouble finding a decent example of doing this on the web. Any examples would be greatly appreciated. Thanks, Ted - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008

Re: [Matplotlib-users] Basemap:'snapback' on line crossing global plot edge

2007-08-02 Thread Ted Drain
I don't think so. We always manually check for horizontal and vertical axis crossings and split the line as many times as necessary. At 03:31 PM 8/2/2007, James Boyle wrote: This is probably for Jeff but maybe someone else has an answer. If I plot a satellite orbit on the globe when the

Re: [Matplotlib-users] Replotting inside a while loop

2007-01-23 Thread Ted Drain
See the docs on interactive mode... http://matplotlib.sourceforge.net/interactive.html At 10:39 AM 1/23/2007, Tommy Grav wrote: On Jan 23, 2007, at 1:28 PM, Darren Dale wrote: On Tuesday 23 January 2007 13:20, Tommy Grav wrote: I have a program that enters a while loop, calculates a bunch

Re: [Matplotlib-users] 2D Intensity Plots of Titan

2006-07-12 Thread Ted Drain
___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users Ted Drain Jet Propulsion Laboratory [EMAIL PROTECTED] - Using Tomcat