Ask Your Question

how do I change the color of the ticks

asked 2016-04-30 01:08:19 +0200

userX gravatar image

I have this sage cell

x,y,z,t,u,v= var("x,y,z,t,u,v"); f(x,y)=9-x^2-y^2; G=plot_vector_field(f.diff(), (x,-10,10), (y,-10,10), transparent=True, plot_points=12, color="brown", aspect_ratio=1); G.axes_color((0,0,1)); show(G)

but I would like the tick color to match the blue axes color.

all help is appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-04-30 03:27:28 +0200

Assuming by "tick" you mean the tick labels, add G.tick_label_color((0,0,1))

edit flag offensive delete link more


perfect! thank you!

userX gravatar imageuserX ( 2016-04-30 22:26:06 +0200 )edit

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2016-04-30 01:08:19 +0200

Seen: 255 times

Last updated: Apr 30 '16