Ticket #9611 (new defect)

Opened 3 years ago

Last modified 3 years ago

Truncated numbers on axes in plotting

Reported by: kcrisman Owned by: jason, was
Priority: major Milestone: sage-5.10
Component: graphics Keywords:
Cc: jason Work issues:
Report Upstream: N/A Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description

Reported by Henryk Trappmann on sage-support:

Take for example the following code: 
sage: f = {0:1} 
sage: for n in range(100): f[n+1] = sqrt(2.0)**f[n] 
sage: line([(n,f[n]) for n in range(50,100)]) 
Then on the y-Axis every tick number is "2e" except the topmost is 
"2". 
One can not distinguish y values by their displayed numbers. 
Another plot issue: 
If you change the aspect ratio, then the displayed numbers (i.e. the 
font) get also scaled, and makes it often unreadable. 
This can be seen with this code: 
sage: l=line([(1,0.5),(2,0.6)]) 
sage: l.set_aspect_ratio(1) 
sage: l 

Change History

comment:1 Changed 3 years ago by jason

  • Cc jason added
Note: See TracTickets for help on using tickets.