Difference between revisions of "Talk:Graph Object Wishlist"

From WeBWorK_wiki
Jump to navigation Jump to search
Line 21: Line 21:
   
 
Mike,
 
Mike,
The labels are handled by string objects. I think this adds the benefit of having labels that can be "texed", like being able to label the graph of a trig function with multiples of pi. Of course that probably means more work for Davide.
+
The labels are handled by string objects. I think this adds the benefit of having labels that can be "texed", like being able to label the graph of a trig function with multiples of pi. Of course that probably means more work for Davide.
The stamps would be circle objects. It might be a good idea to define the default radius of a circle so that it will appear as a stamp, circle objects can be filled or not.
+
This can be included in the graph of a function by putting the function, string, and circle all in a list object.
+
The stamps would be circle objects. It might be a good idea to define the default radius of a circle so that it will appear as a stamp, circle objects can be filled or not.
  +
  +
This can be included in the graph of a function by putting the function, string, and circle all in a list object.
  +
  +
It might be appropriate to add in a method for invoking a certain type of graphing routine, in particular invoking a flash applet as opposed to the built in wwplot. I didn't add this functionality to the specs, waiting for input from the flash applets group.

Revision as of 17:51, 15 November 2008

Hi Darwyn,

Looks good to me. I think we need a more general specification for ""labels" and "stamps". These are text or images that appear in the graph at specified position.

I use them to implement the open and filled circles in piecewise graphs, and also as labels of points "a", "b". They can also be used to plot discrete data. It would be nice if the text could include math symbols such as \alpha.

One "label" you refer to might be called a "legend" or "caption" or "title" for the entire graph. There are also labels for axes, but not in general.

references:

http://webwork.maa.org/doc/cvs/pg_HEAD/lib/Label.html
http://webwork.maa.org/doc/cvs/pg_HEAD/lib/WWPlot.html see section "fn, lb, stamps"
          

Your thoughts? -- Mike

Mike, The labels are handled by string objects. I think this adds the benefit of having labels that can be "texed", like being able to label the graph of a trig function with multiples of pi. Of course that probably means more work for Davide.

The stamps would be circle objects. It might be a good idea to define the default radius of a circle so that it will appear as a stamp, circle objects can be filled or not.

This can be included in the graph of a function by putting the function, string, and circle all in a list object.

It might be appropriate to add in a method for invoking a certain type of graphing routine, in particular invoking a flash applet as opposed to the built in wwplot. I didn't add this functionality to the specs, waiting for input from the flash applets group.