I'd like to learn to use basic plotting in a wxPython GUI app, with plots embedded in the GUI. Some questions about this:
1) Of pyplot or matplotlib, which might you recommend? My needs are: - embedded plots in GUI (either can AFAIK) - basic point/line/pie/bar graphs, regression lines, clickable points. (not sure if pyplot does regression lines or pie charts.) - get the datapoints from a SQLite database queries - reasonably do-able for a determined beginner programmer (me) - not too memory intensive/app-bloating Clearly matplotlib can do it all but I'm unsure if it is overkill for my needs? 2) What does "DC" mean? As in wxDC? 3) I'd like to try a simple embedded plot in pyplot to get started. Boa Constructor will place a plot canvas to start, but I'm having trouble wading through the code of the pyplot example from the wxPython demo. Could someone help me with the barest bones of a simple line plot on a canvas? Just x = (1,2,3,4,5), y = (2,4,6,8,10) sort of thing. TIA, Che _________________________________________________________________ Mortgage rates as low as 4.625% - Refinance $150,000 loan for $579 a month. Intro*Terms https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h27f6&disc=y&vers=743&s=4056&p=5117 _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor