05 Nov 2007

Unofficial package graph_pi.asy – fig0100

Figure 0010
(Compiled with Asymptote version 2.14svn-r5318)
    
import graph_pi;

real f(real x){return -.8x+3;}

graphicrules(unit=1cm,
             xmin=-2, xmax=6, ymin=-2, ymax=6);

draw(graph(f));
draw(graph(new real(real x){return x;}), grey);
cartesianaxis();
draw(recursivegraph(f,-1.8,n=7),
     //This is the default options
     recursiveoption(L="u",
                    labelbegin=true,
                    labelend=true,
                    labelinner=true,
                    labelalternate=false,
                    format="",
                    labelplace=onX,
                    px=nullpen,
                    py=nullpen,
                    startonyaxis=false,
                    circuitarrow=None,
                    automarker=marker(cross(4)),
                    xaxismarker=nomarker,
                    yaxismarker=nomarker,
                    xmarker=nomarker,
                    fmarker=nomarker),
     .8red);

Étiquettes : ,