Angular gridlines in sage plot

i like this post (click again to cancel)
0
i dont like this post (click again to cancel)

My ubuntu sage installation still has some problems. So I installed it on my mac to get started. I was wondering if there is some way to make non-vertical gridlines in Sage.

For example, I used

show(L,gridlines=True)

for some graphics object L. Now I want to rotate just the y axis gridline by 30 degrees. How can I do it? Thanks.

asked Jun 10 '11

Yayu gravatar image Yayu
5 1 3

updated Jun 10 '11

i like this answer (click again to cancel)
2
i dont like this answer (click again to cancel) Yayu has selected this answer as correct

I don't know any option to do that at once, but you can use something like:

var('x y')
line = 2*x + y
p = plot(...)
grid = sum(implicit_plot(line+k,...)  for k in srange(-1,1,0.2))
(p + grid).show()

to add the grid manually.

link

posted Jun 17 '11

pang gravatar image pang
167 3 10
http://www.uam.es/persona...

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Tags:

Stats:

Asked: Jun 10 '11

Seen: 75 times

Last updated: Jun 17 '11

powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.