Re: [Matplotlib-users] split axis scale

2008-11-29 Thread Alan G Isaac
On 11/28/2008 9:21 PM Eric Firing apparently wrote: I suggest using twinx(); the scale for one line will be on the left, the scale for the other on the right. You can make the scale colors match the line colors, if you want to. I just updated examples/api/two_scales.py to show this.

[Matplotlib-users] plotting a matplotlib.lines.Line2D instance directly

2008-11-29 Thread TP
Hi everybody, In my own application, I want to specialize matplotlib.lines.Line2D to be able to deal with units. Concerning this class, is there a direct means to plot instances? For example, if I do: a=matplotlib.lines.Line2D([5,6],[7,8],color='m') To plot it, I have not found another way

Re: [Matplotlib-users] plotting a matplotlib.lines.Line2D instance directly

2008-11-29 Thread John Hunter
On Sat, Nov 29, 2008 at 6:48 AM, TP [EMAIL PROTECTED] wrote: Hi everybody, In my own application, I want to specialize matplotlib.lines.Line2D to be able to deal with units. Concerning this class, is there a direct means to plot instances? For example, if I do:

Re: [Matplotlib-users] Plotting a list of lines

2008-11-29 Thread John Hunter
On Thu, Nov 27, 2008 at 11:21 AM, Mauro Cavalcanti [EMAIL PROTECTED] wrote: Then, in a checkbox event, I do the following: index = event.GetSelection() plot = self.plot_list[index] if self.FileList.IsChecked(index): plot[0].set_visible(True) else: plot[0].set_visible(False)

Re: [Matplotlib-users] plotting a matplotlib.lines.Line2D instance directly

2008-11-29 Thread Alan G Isaac
On 11/29/2008 7:48 AM TP apparently wrote: In my own application, I want to specialize matplotlib.lines.Line2D to be able to deal with units. Concerning this class, is there a direct means to plot instances? There must be. I have not done this, but looking at

Re: [Matplotlib-users] split axis scale

2008-11-29 Thread Eric Firing
Alan G Isaac wrote: On 11/28/2008 9:21 PM Eric Firing apparently wrote: I suggest using twinx(); the scale for one line will be on the left, the scale for the other on the right. You can make the scale colors match the line colors, if you want to. I just updated examples/api/two_scales.py