|
From: SourceForge.net <no...@so...> - 2005-02-08 08:06:07
|
Feature Requests item #1118152, was opened at 2005-02-07 22:00 Message generated for change (Comment added) made by wobsta You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=442889&aid=1118152&group_id=45430 Category: Interface Improvements (example) Group: Next Release (example) Status: Open Priority: 5 Submitted By: Francisco Dellatorre Borges (fdborges) Assigned to: Nobody/Anonymous (nobody) Summary: default args for data.(list|file)(x=1,y=2) Initial Comment: All graph data entries must have a x and y coordinates. It would be more sensible to determine a default order for these in the data so as to avoid the typing of x=1,y=2 at every single data.(list|file) call. Just as users (e.g. me) of a cmd line plotting routine expect to call $ bozoplot results.dat with two columns entries: 0 1 1 3 etc and have a graph plotting these as x, y. Users (e.g. I) would expect to be able to call pyx.graph.graphxy.data. methods without having to specify at every call which is column x and which is y. Francisco. ---------------------------------------------------------------------- >Comment By: André Wobst (wobsta) Date: 2005-02-08 09:06 Message: Logged In: YES user_id=405853 Couldn't you do this within your bozoplot command? The point is that graph.data.file and the like do not know anything about the column names they need to fill with data. It's designed the other way around. You provide some data and the graph styles (by the help of the axis names available in the graph) will tell you, whether this is a valid request. I do not want to stress that too much, especially since we currently have an xy graph only, but the axis names could be completely different in an polar plot, a 3-d plot etc. And other graph styles like text, arrow, errorbars etc. want other data as well. I would not like to see a semi-guessing solution in PyX. Comments? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=442889&aid=1118152&group_id=45430 |