#1431: basic plotting: add support for setting the location and labels of all 
tick
marks on the x and y axes
-----------------------------------+----------------------------------------
   Reporter:  was                  |       Owner:  was                          
   
       Type:  enhancement          |      Status:  needs_work                   
   
   Priority:  major                |   Milestone:  sage-4.3                     
   
  Component:  graphics             |    Keywords:                               
   
Work_issues:                       |      Author:  Jason Grout, Karl-Dieter 
Crisman
   Reviewer:  Karl-Dieter Crisman  |      Merged:                               
   
-----------------------------------+----------------------------------------

Old description:

> Amazingly some very basic functionality for plotting hasn't yet been
> implemented!  In particular, there is nothing yet for setting the
> location and labels of all tick marks on the x and y axes.  This need to
> be implemented.

New description:

 Amazingly some very basic functionality for plotting hasn't yet been
 implemented!  In particular, there is nothing yet for setting the location
 and labels of all tick marks on the x and y axes.  This needs to be
 implemented.

--

Comment(by kcrisman):

 Replying to [comment:12 jason]:
 > Two comments:
 >
 > * tick_formatter should accept rational multiples of *any* symbolic
 constant.  I think the code ought to be generalized before going into
 Sage.  For example, I should have ticks that are rational multiples of e
 as well.
 >
 > * I like the idea of having tick_locator be a number.  I think it should
 be expanded to being a list (if symbolic expressions, then latexing them
 can give the formatters), or a function.

 These make lots of sense.  It should be easy to check if the string is in
 symbolic.constants or something (or even accept those as input), and then
 of course one would have to check if there was a symbolic expression in
 the list, and (possibly override) use tick_formatter appropriately.  After
 all, multiple_of_pi could be made generic to
 multiple_of_symbolic_constant, and then we could make a dummy function to
 input into FuncFormatter or something.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/1431#comment:15>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to