On Tue, 15 Nov 2011 at 09:49PM -0800, William Stein wrote: > On Tue, Nov 15, 2011 at 9:33 PM, Keshav Kini <keshav.k...@gmail.com> wrote: > > Why separate it out into another function _list_plot?
I do like the idea of _list_plot() accepting only one format, and the user-facing list_plot() doing the work of mangling your data into that accepted format. Seems like a nice separation of function. (Although that's very close to the current situation with list_plot, since all the real work is done by line() or point().) > I often draw plots using list_plot because it allows me to control > exactly where the points are put and how many samples I take (as > opposed to using the plot command, which refines). If I'm going to > make 10 plots on one graph, each evaluated at several thousand points, > the overhead might matter. I didn't think of this yesterday, but consider making animations: now you might have to create several hundred plots. My 7 millisecond delay is now on the order of seconds. Dan -- --- Dan Drake ----- http://mathsci.kaist.ac.kr/~drake -------
signature.asc
Description: Digital signature