[Matplotlib-users] Problem assigning labels in legends

2009-04-30 Thread Andrew Romero
Hi In one part of my script I plot some lines and assign labels to the lines. Later in the script I create a figure legend. How do I get the labels, that I assigned at plot-time, to be used in the legend?  Currently I am manually specifying the legend labels. # Plot some lines ... set values

[Matplotlib-users] New user having much trouble with formating dates on x-axis

2009-04-17 Thread Andrew Romero
The script plottest.py.txt reads the data file (out.txt) and creates the plot (myfig.png); however, I am unable to format the dates ... they always print as floats .. help   the files plottest.py.txt, out.txt and myfig.png are attached     Thanks   Andy import time import csv import matplo