Ask Your Question
0

jmol axes off-center

asked 11 years ago

planarian gravatar image

Hi,

I'm new to Sage, and as I was trying to figure out plot3d and jmol, I noticed that when the axes are switched on, they appear off-center (if you put a point on the origin, it becomes quite obvious). I looked around to see if anyone else had noted this bug, and found this report from four years ago! I take it, then, that this problem won't be corrected in the foreseeable future, and I was wondering whether anyone has discovered a workaround.

Thanks!

Preview: (hide)

Comments

1

You may write your own code to add axes, see: http://ask.sagemath.org/question/1441/set-axes-in-3d-plot

ndomes gravatar imagendomes ( 11 years ago )

@ndomes: Thanks! My jury rig (see below) is probably good enough for now, but if it breaks down, I'll definitely use your suggestion.

planarian gravatar imageplanarian ( 11 years ago )

1 Answer

Sort by » oldest newest most voted
0

answered 11 years ago

planarian gravatar image

updated 11 years ago

I've discovered an odd fix, though I don't know how broadly applicable it is: before switching on the axes, use XY-Plane preset view under right-click->View. After the graph re-orients, toggle the axes (right-click->Style->Axes). At least in the handful of examples I've tried, it seems to correct the problem....

[EDIT: After further testing, I've decided this solution may not be worth the trouble. Sometimes the XY-Plane setting doesn't fix it, but YZ-Plane does. Clearly there are other variables at work....]

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 11 years ago

Seen: 778 times

Last updated: Apr 13 '13