Stack Plot setting : yaxis, grid

Stack Plot setting : yaxis, grid

by Laurent BRIEND -
Number of replies: 2

Hi,

In a stack question I made something like :

{@plot([f1, f2, f3, f4, f5], [x, 0, 50], grid2d,[label, ["x", 50, -2], ["FCC",1, 105]])@}

to show a graph in question text.

That's works but I would like the student could read some values using graph, the yaxis and  grid.   The default setup of yaxis/grid isn't so good to do this.

Do you know how to setup yaxis / grid so that students could better read the values ? 

(No maxima plot2d solutions seems to work in Stack)

Thanks ,

Laurent

Average of ratings: -
In reply to Laurent BRIEND

Re: Stack Plot setting : yaxis, grid

by Stephan Bach -
Hey Laurent,
using the options ytics and maybe xtics should work fine. For example adding "[ytics, -1,2,1]" to the list of options will produce the two grid lines y=-1 and y=1.
Stephan