Re: [Matplotlib-users] 2nd y axis, same data

2007-05-30 Thread Jeff Whitaker
James Battat wrote: > Hello, > > (for a 2-d plot) > Any example code of how to label the 2nd y-axis using a different scale > than the first y-axis for the same dataset? > > For example, how do you make a plot of distances with the left y-axis in > kilometers and the right y-axis in miles? > > Than

[Matplotlib-users] 2nd y axis, same data

2007-05-30 Thread James Battat
Hello, (for a 2-d plot) Any example code of how to label the 2nd y-axis using a different scale than the first y-axis for the same dataset? For example, how do you make a plot of distances with the left y-axis in kilometers and the right y-axis in miles? Thanks in advance for your help, James -