Line parallel to Y axis

Hi ROOTers,
I want to draw a line parallel to Y axis.
Can I do this in root ?

//After you’ve drawn everything
TLine* line = new TLine( X, y_min, X, y_max );
line->Draw(“same”);

Thank you so much! Appreciate it.

The TLine does not know/need the “same” drawing option, so use simply: line->Draw();