#include class Skymap { public: Skymap() : mCanvas("c1","",0,0,800,800) { mCanvas.Range(-30,-30,30,30); } void PlotSinglePoint(const float& x,const float& y) { mMarkers.push_back(TMarker(x,y,7)); mMarkers.back().Draw(); //Comment this out before using DrawAll() } void Print(const std::string& filepth) { mCanvas.Print(filepth.c_str()); } void DrawAll() { for(int i=0;i mMarkers; }; void Skymap(){ Skymap test; float x1=-10.,y1=15.; test.PlotSinglePoint(x1,y1); float x2=10.,y2=20.; test.PlotSinglePoint(x2,y2); //test.DrawAll(); test.Print("test.eps"); }