Log of /trunk/hist/histpainter/src/TGraph2DPainter.cxx
Parent Directory
Revision
42956 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Feb 10 09:55:46 2012 UTC (2 years, 11 months ago) by
couet
File length: 33157 byte(s)
Diff to
previous 41373
Because of the range along the Z axis, the following macro produced a wrong plot. The markers' colors did not match the palette and some of them were not clipped.
{
Double_t x[10] = {1.,2.,3.,4.,5.,6.,7.,8.,9.,10.};
Double_t y[10] = {.4,.5,.1,.3,.8,.4,.5,.6,.2,.1};
Double_t z[10] = {1.,2.,3.,4.,5.,6.,7.3,8.,9.,10.};
TGraph2D *gr = new TGraph2D("graph2d","graph2d",10,x,y,z);
gr->SetMarkerStyle(20);
gr->SetMaximum(7.5);
gr->SetMinimum(2.5);
gr->Draw("zpcol");
}
This was reported here:
http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=12921&p=60705#p60705
Revision
39762 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Jun 16 08:05:34 2011 UTC (3 years, 7 months ago) by
couet
File length: 32978 byte(s)
Diff to
previous 38353
- Initialize the color levels for the PCOL option in order to have the color palette painted correctly with the option PCOLZ.
Revision
24084 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Sun Jun 1 15:34:01 2008 UTC (6 years, 7 months ago) by
brun
File length: 27984 byte(s)
From Olivier and me:
Split the TGraph classes to move the graphics code to separate classes.
These classes will be moved to the hist directory once the classes will be ok.
The TGraphs are painted via the TVirtualGraphPainter class and its concrete
implementation TGraphPainter.
At the difference of the TH1 classes for which a different painter is created
when drawing each histogram, one single TGraphPainter class is created.
The TGraphPainter class does not have internal state, all the information
from TGraph is passed to the drawing functions via parameters.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.