settings.outformat = "pdf";
settings.prc = false;

//usepackage("amsmath,amssymb"); usepackage("inputenc","utf8"); // code
//figure import graph; //unitsize(1cm,1cm);
import graph;
//settings.render=16;
size(3cm,3cm);


path d=(0,0)--(1,0);
draw(d,red+linewidth(2));
dot(d,blue);
label("P",(0,0.1));
label("Q",(1,0.1));
label("e",(0.5,0.1));