Plotting multiple sets of x-y points on the same graph

Pasha Murat (murat@cdfsga.fnal.gov)
Thu, 19 Feb 1998 15:44:35 -0600 (CST)


Chris,

take a look at tutorials/gerros.C and add one or more TGraphErrors object
for the additional sets of the data. BTW, it is in general a very useful idea
to figure out what is and what is not available from the tutorials.

Regards, Pasha.
--------------------------------------------------------------------------------
Chris Jillings writes:
> Hi,
> I have many sets of x-y points that I would like to plot on the same
> graph. What is the command to pre-define the axes, plot a curve, and then
> plot a second?
> Just to be clear, I am looking for the root version of
>
> null 0. 15. 0. 1.
> ve/plo y1%x1 ! s
> ve/plo y2%xs ! s
>
> Thanks,
>
> Chris
>
>
>
>
> =================================================================
> = =
> = Chris Jillings =
> = Department of Physics phone/voice mail: (613) 545-6000x4805 =
> = Queen's University fax: (613) 545-6813 =
> = Kingston, Ontario email: chris@mips2.phy.queensu.ca =
> = Canada, K7L 3N6 web: http://snodaq.phy.queensu.ca =
> = =
> =================================================================
>
>
>