That works perfectly. Thank you all so much!
Gökhan SEVER-2 wrote:
>
> On Fri, Sep 17, 2010 at 1:13 PM, musik wrote:
>
>>
>> Is there a way to set the legend font color? I am plotting multiple sets
>> of
>> data using different colors. I basically want
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 color. Here is an example.
x = arange(0,10,0.1)
y1 = sin(x)
y2 = cos(x)
plot(x,y1,'r-',x,y2,'b--')
I wa
t_ylim()
> ax2.set_ylim(Tc(y1), Tc(y2))
>
> # automatically update ylim of ax2 when ylim of ax1 changes.
> ax1.callbacks.connect("ylim_changed", update_ax2)
> ax1.plot([78, 79, 79, 77])
>
> -JJ
>
>
> On Thu, Jun 4, 2009 at 11:08 AM, musik wrote:
>
Exactly. I want to plot the original data once, but the two y axes show
different scales (units). Is twinx() good for that? How?
Thanks.
Ryan May-3 wrote:
>
> On Thu, Jun 4, 2009 at 6:01 AM, Sandro Tosi wrote:
>
>> Hi,
>>
>> On Thu, Jun 4, 2009 at 06:56, musik w
Hi everyone,
Suppose I have the following data set
-
Time Temperature (F)
1 78
2 79
3 79
4 77
-
I want to make a plot with both y axes labeled. The one on the left (y1)
will be in Fahrenheit, wh