Printing dates as dates in scatter plot
Asked by
Detlef Koschny
I would like to plot the elevation of the Moon (or anything else, as a matter of fact) using a scatter plot of the Mathplotlib library which I get when importing 'pylab'. But all I manage is to plot the float value of the date - which doesn't look nice. Any idea how I can convert the date back to the string? I tried 'str (date)' but then I get an error of the 'scatter' function saying that x and y must be of the same size...
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- PyEphem Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Detlef Koschny for more information if necessary.
To post a message you must log in.