Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

can gridlines be painted at sqrt(2) ?

In this simple plot


the gridline is plotted alright. However, if I put sqrt(2) instead of 1


does not work. It is strange, because I think that gridlines should behave similar as ticks. For instance, the following both two expressions work

plot(x,0,2,ticks=([sqrt(2)],[])) plot(x,0,2,ticks=([sqrt(2)],[]),gridlines=true)

Does anybody know what is the reason or how to fix it? Thanks. Javier PĂ©rez.