asymptote-config/lib_jl.asy

46 lines
1.0 KiB
Plaintext
Raw Normal View History

2018-08-15 15:17:01 +00:00
import graph_pi;
import gm_probabilitytree;
import gm_tableaux;
2018-09-25 04:47:02 +00:00
marker croix1(pen sColor)
2018-08-15 15:17:01 +00:00
{
return marker(scale(2)*rotate(45)*cross(4), sColor);
}
2018-09-25 04:47:02 +00:00
marker croix2(pen sColor)
{
return marker(scale(2)*cross(4), sColor);
}
2018-08-15 15:17:01 +00:00
void loadaxis(real xmin, real xmax, real ymin, real ymax)
{
//xlimits(xmin,xmax,Crop);
//ylimits(ymin,ymax,Crop);
xaxis(Label("$x$",position=EndPoint, align=.2*SE),
xmin=xmin,xmax=xmax,
Ticks(scale(.7)*Label(align=E),
NoZero,
//begin=false,
end=false,
//beginlabel=false,
endlabel=false,
Step=1,step=.25,
Size=1mm, size=.5mm,
pTick=black,ptick=gray),
Arrow);
yaxis(Label("$y$",position=EndPoint, align=.2*NW),
ymin=ymin,ymax=ymax,
Ticks(scale(.7)*Label(),
NoZero,
//begin=false,
end=false,
//beginlabel=false,
endlabel=false,
Step=1,step=.25,
Size=1mm, size=.5mm,
pTick=black,ptick=gray),
Arrow);
}