Ask Your Question

iipr's profile - activity

2017-12-06 11:16:09 +0200 received badge  Famous Question (source)
2016-10-31 19:47:12 +0200 received badge  Notable Question (source)
2016-10-05 14:56:41 +0200 received badge  Popular Question (source)
2016-05-23 04:06:04 +0200 received badge  Student (source)
2016-05-13 18:33:30 +0200 commented answer How to change position of the axes values of a Sage plot.

Ok I think I can't figure this out. I read plot/graphics.py and I tried heaps of things like:

p = plot(sin(x), (x, -2*pi, 2*pi)); fig = p.matplotlib(); subplot = fig.add_subplot(111); subplot.yaxis.set_ticks_position('right'); subplot.yaxis.set_label_position('right')

But I don't understand how to plot this new modified matplotlib figure, could you please provide me with some more guidance?

2016-05-12 18:08:01 +0200 asked a question How to change position of the axes values of a Sage plot.

I am plotting 2D functions on Sage, and I would like to move the values displayed along the $y$ axis (the ticks) from the left of the axis to the rigth, because they bother me there. I had a look and I think this can be done in Python with matplotlib (using set_tick_params() or set_ticks_position()) which is included in Sage, but I am not sure of how to combine a region_plot() from Sage with this axis modification.

¿Anyway to do what I am saying? I can't include an example of what I am saying because I don't have enough Karma to add a figure or link...