Pixel From Scale Example

{ Draw a circle at the scaled coordinates [x,y]-->[0,1] of the energyPlot.}

var xPix,yPix:Intege;

begin

xPix:=PixFromX(0);

yPix=PixFromY(1);

EnergyPlot.GetCanvas.ellipse(xPix-6,yPix-6,xPix+6,yPix+6);

end;