-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[hist] Add SetRefPad for consistent axis scaling #20770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
d1c338c
5540984
1f300cb
f0556a3
0f96d53
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,6 +26,7 @@ | |
| #include "TArrayD.h" | ||
| #include <vector> | ||
|
|
||
| class TVirtualPad; | ||
| class THashList; | ||
| class TAxisModLab; | ||
|
|
||
|
|
@@ -44,6 +45,7 @@ class TAxis : public TNamed, public TAttAxis { | |
| TObject *fParent = nullptr; ///<! Object owning this axis | ||
| THashList *fLabels = nullptr; ///< List of labels | ||
| TList *fModLabs = nullptr; ///< List of modified labels | ||
| Float_t fRefLength = 0; ///<! Reference length for automatic scaling (not saved to file) | ||
|
|
||
| /// TAxis extra status bits (stored in fBits2) | ||
| enum { | ||
|
|
@@ -176,7 +178,10 @@ class TAxis : public TNamed, public TAttAxis { | |
| virtual void UnZoom(); // *MENU* | ||
| virtual void ZoomOut(Double_t factor=0, Double_t offset=0); // *MENU* | ||
|
|
||
| ClassDefOverride(TAxis,10) //Axis class | ||
| void SetRefPad(TVirtualPad *pad); | ||
| Float_t GetRefLength() const { return fRefLength; } | ||
|
|
||
| ClassDefOverride(TAxis,11) //Axis class | ||
|
||
| }; | ||
|
|
||
| //////////////////////////////////////////////////////////////////////////////// | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.