Question about TAxis

I’m trying to draw a plot where the values for the X axis are not uniformely distributed. The plot obtained correctly displays the Y values for only the valid X values, leaving blank the points where no X value is read. I think this is the default draw option where the X axis is evenly distributed over the desired range. Is there any way to get the X axis to show only the values for which the X variable has actual values?.
Thank you

Use the TGraph or TGraphErrors class. See tutorial graph.C, gerrors.C, gerrors2.C, etc

Rene