From: SourceForge.net <no...@so...> - 2012-10-09 21:58:36
|
Bugs item #3575839, was opened at 2012-10-09 14:58 Message generated for change (Tracker Item Submitted) made by dem666 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=3575839&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: David J. López (dem666) Assigned to: Nobody/Anonymous (nobody) Summary: Non-negative numbers are displayed too right in plots Initial Comment: I've noticed in maxima plots (based on postcript with gnuplot) that the positive numbers are slightly right-shifted from their axis ticks marks. I include a figure, see numbers 0, 1, 2 and 3 in the x axis of plot2d(sin(x),[x,-3,3]) Using epslatex I've found the reason, see the space in the output of non-negative the axis marks labels: \put(946,704){\makebox(0,0)[r]{\strut{}-1}}% \put(946,1111){\makebox(0,0)[r]{\strut{}-0.8}}% \put(946,1518){\makebox(0,0)[r]{\strut{}-0.6}}% \put(946,1925){\makebox(0,0)[r]{\strut{}-0.4}}% \put(946,2332){\makebox(0,0)[r]{\strut{}-0.2}}% \put(946,2740){\makebox(0,0)[r]{\strut{} 0}}% \put(946,3147){\makebox(0,0)[r]{\strut{} 0.2}}% \put(946,3554){\makebox(0,0)[r]{\strut{} 0.4}}% \put(946,3961){\makebox(0,0)[r]{\strut{} 0.6}}% \put(946,4368){\makebox(0,0)[r]{\strut{} 0.8}}% \put(946,4775){\makebox(0,0)[r]{\strut{} 1}}% \put(1078,484){\makebox(0,0){\strut{}-3}}% \put(2032,484){\makebox(0,0){\strut{}-2}}% \put(2986,484){\makebox(0,0){\strut{}-1}}% \put(3941,484){\makebox(0,0){\strut{} 0}}% \put(4895,484){\makebox(0,0){\strut{} 1}}% \put(5849,484){\makebox(0,0){\strut{} 2}}% \put(6803,484){\makebox(0,0){\strut{} 3}}% In the y axis the left space is not a problem, but in the x-axis the ticks must be \put(3941,484){\makebox(0,0){\strut{}0}}% \put(4895,484){\makebox(0,0){\strut{}1}}% \put(5849,484){\makebox(0,0){\strut{}2}}% \put(6803,484){\makebox(0,0){\strut{}3}}% without the left space. PD: It seems it's a postcript problem. png or gif figures seems to be fine ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=3575839&group_id=4933 |