![]() |
Object-oriented Scientific Computing Library: Version 0.910
|
Experimental functions for use with Root. More...
#include <string>
#include <Gtypes.h>
#include <TApplication.h>
#include <TArrow.h>
#include <TAxis.h>
#include <TBox.h>
#include <TCanvas.h>
#include <TColor.h>
#include <TF1.h>
#include <TGraph.h>
#include <TGraphErrors.h>
#include <TGaxis.h>
#include <TH1.h>
#include <TH2.h>
#include <TLatex.h>
#include <TLegend.h>
#include <TLine.h>
#include <TList.h>
#include <TMarker.h>
#include <TObjArray.h>
#include <TROOT.h>
#include <TStyle.h>
#include <TPolyLine.h>
#include <o2scl/constants.h>
#include <o2scl/table_units.h>
Go to the source code of this file.
All of the functions in graph.h are documented in the o2scl_graph namespace.
Definition in file graph.h.
Namespaces | |
namespace | o2scl_graph |
Namespace for experimental functions for use with Root. | |
Functions | |
void | o2scl_graph::arrow (double x1, double y1, double x2, double y2, TLine *&line, TPolyLine *&poly, double size=0.1, double size2=0.8, double alpha1=0.35) |
Draw a pretty arrow from (x1,y1) to (x2,y2) | |
int | o2scl_graph::new_graph (TCanvas *&c1, TPad *&p1, TH1 *&th1, std::string CanvasName, std::string WindowName, std::string PadName, double lleft, double lbottom, double lright, double ltop, int left=0, int top=0, int right=700, int bottom=700, bool logx=false, bool logy=false) |
Make a canvas and pad. | |
int | o2scl_graph::new_graph_ticks (TCanvas *&c1, TPad *&p1, TH1 *&th1, std::string CanvasName, std::string WindowName, std::string PadName, double lleft, double lbottom, double lright, double ltop, TGaxis *&a1, TGaxis *&a2, int left=0, int top=0, int right=700, int bottom=700, bool logx=false, bool logy=false) |
Make a canvas and pad with more tick marks. | |
TGraph * | o2scl_graph::table_graph (o2scl::table_units &at, std::string scolx, std::string scoly, int style=1, int color=1) |
Graph two columns from a data table. | |
TGraphErrors * | o2scl_graph::table_graph_errors (o2scl::table_units &at, std::string scolx, std::string scoly, std::string xerr, std::string yerr, int style=1, int color=1) |
Plot colums from a data table with error bars. | |
int | o2scl_graph::two_up_graph (TCanvas *&c1, TPad *&p1, TPad *&p2, TH1 *&th1, TH1 *&th2, std::string CanvasName, std::string WindowName, std::string Pad1Name, std::string Pad2Name, double lowx1, double highx1, double lowx2, double highx2, double lowy, double highy, int left=0, int top=0, int right=1000, int bottom=700, bool logx1=false, bool logx2=false, bool logy=false, double alpha=1.3, double margin=0.1) |
Make a canvas with a two-up graph, side-by-side. | |
int | o2scl_graph::two_up_graphy (TCanvas *&c1, TPad *&p1, TPad *&p2, TH1 *&th1, TH1 *&th2, std::string CanvasName, std::string WindowName, std::string Pad1Name, std::string Pad2Name, double lowx, double highx, double lowy1, double highy1, double lowy2, double highy2, int left=0, int top=0, int right=1000, int bottom=700, bool logx=false, bool logy1=false, bool logy2=false, double alpha=1.3, double margin=0.1) |
Make a canvas with two plots, one on top of the other. | |
Variables | |
Some useful colors | |
const int | o2scl_graph::kGray20 = kGray |
const int | o2scl_graph::kGray40 = kGray+1 |
const int | o2scl_graph::kGray60 = kGray+2 |
const int | o2scl_graph::kGray80 = kGray+3 |
Markers | |
const int | o2scl_graph::m_small_dot = 1 |
const int | o2scl_graph::m_plus = 2 |
const int | o2scl_graph::m_asterisk = 3 |
const int | o2scl_graph::m_circle = 4 |
const int | o2scl_graph::m_times = 5 |
const int | o2scl_graph::m_med_dot = 6 |
const int | o2scl_graph::m_large_dot = 7 |
const int | o2scl_graph::m_fill_circle = 8 |
const int | o2scl_graph::m_fill_square = 21 |
const int | o2scl_graph::m_fill_up_triangle = 22 |
const int | o2scl_graph::m_fill_dn_triangle = 23 |
const int | o2scl_graph::m_open_circle = 24 |
const int | o2scl_graph::m_open_square = 25 |
const int | o2scl_graph::m_open_up_triangle = 26 |
const int | o2scl_graph::m_open_diamond = 27 |
const int | o2scl_graph::m_open_plus = 28 |
const int | o2scl_graph::m_fill_star = 29 |
const int | o2scl_graph::m_open_star = 30 |
const int | o2scl_graph::m_asterisk2 = 31 |
const int | o2scl_graph::m_open_dn_triangle = 32 |
const int | o2scl_graph::m_fill_diamond = 33 |
const int | o2scl_graph::m_fill_plus = 34 |
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).