Ploting with dual monitors

Hi all,

I am currently using two monitors. Is it possible to create Canvas only in the monitor I am using?
Currently, If I have the terminal open in my second monitor and I run a script, all canvas are being created in the primary monitor.
(changing who is the primary monitor is not a good solution).

Best regards,

ROOT Version: 6.24/06
Platform: Ubuntu 21.10 impish (x86-64)
Compiler: (gcc/g++ 11.2.0)

You can give coordinates to your canvas at creation time. See TCanvas::TCanvas(const char *name, const char *title, Int_t wtopx, Int_t wtopy, Int_t ww, Int_t wh)

That worked, thanks!

Just to document here if anyone searches:
I am using two monitors, each set with a resolution of 1920x1080. Therefore, if I want to plot the graph on the right sided monitor (full screen) one can do:
TCanvas *c1 = new TCanvas(“c1”,“c1”,1920,0,1920,1080);

Thanks again,