Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

axes in jmol in the wrong place #3862

Open
sagetrac-mclean mannequin opened this issue Aug 14, 2008 · 4 comments
Open

axes in jmol in the wrong place #3862

sagetrac-mclean mannequin opened this issue Aug 14, 2008 · 4 comments

Comments

@sagetrac-mclean
Copy link
Mannequin

sagetrac-mclean mannequin commented Aug 14, 2008

Example:

var('x')
var('y')
plot3d(cos(x) + sin(y), (x, -2,1), (y, -2,1), axes = True)

At least one axis is in the right location, the other two...

Translating coordinates into jmol seems to be difficult, so maybe this is the reason?

CC: @kcrisman

Component: graphics

Keywords: plot3d, axes

Issue created by migration from https://trac.sagemath.org/ticket/3862

@sagetrac-mclean sagetrac-mclean mannequin added this to the sage-3.4.1 milestone Aug 14, 2008
@jasongrout
Copy link
Member

comment:1

The fix is to put axes molecular in the jmol script. You can see the fix by right-clicking, selecting "console", and then entering the axes molecular command.

@jasongrout jasongrout changed the title axes in plot3d broken axes in jmol in the wrong place Feb 10, 2009
@jasongrout
Copy link
Member

comment:3

The attached patch makes the axes centered at the origin.

@jasongrout
Copy link
Member

comment:4

Assigning this to sage-3.3 will get mabshoff's attention, probably before he comes back on IRC :). Is this trivial enough to get in? It corrects a very annoying thing that bothers me when trying to teach calculus and graphing things in 3d.

@jasongrout jasongrout modified the milestones: sage-3.4.1, sage-3.3 Feb 10, 2009
@jasongrout
Copy link
Member

comment:5

Okay, never mind. Carl Witty pointed out that this ticket deals with the Sage axes, not the jmol axes. I'm posting this patch up at #5229 and retracting my claim of a fix here.

@jasongrout jasongrout modified the milestones: sage-3.3, sage-3.4.1 Feb 10, 2009
@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@mkoeppe mkoeppe removed this from the sage-6.4 milestone Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants