Details
-
Bug
-
Status: Closed (View Workflow)
-
Medium
-
Resolution: Fixed
-
6.04/06
-
None
-
CentOs 6 64-bits
Description
Run this following macro
#include <TGraph.h>
|
#include <TAxis.h>
|
|
using namespace std;
|
|
void test() {
|
|
float x[4] = {1,2,3,4};
|
float y[4] = {2,4,6e36,8};
|
TGraph *g = new TGraph(4,x,y);
|
g->SetTitle("test");
|
g->GetXaxis()->SetTimeDisplay(true);
|
g->Draw();
|
}
|
A graph appears with an X-axis shown as a time. Click right and select "setlogy"
See that the x-axis is not shown as a time.