First time here? Check out the FAQ!

Ask Your Question
1

how do I change the color of the ticks

asked 8 years ago

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 8 years ago

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

Preview: (hide)
link

Comments

perfect! thank you!

userX gravatar imageuserX ( 8 years ago )

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

Stats

Asked: 8 years ago

Seen: 319 times

Last updated: Apr 30 '16