htemp.SetMarkerSize

Hi,

I try to plot a 3D dataset as 2D scatterplot - using color as third coordinate. So far this seems to work.
However the displayed data points are to small and (here comes my problem) I can’t change theirs size !?

Here a part of my source code:

TFile myfile(“it_x05.root”);
ntuple.Draw(“x:z:y”,"",“COLZ”);

htemp.SetFillColor(kWhite);
htemp.SetMarkerSize(5.0);
htemp.GetZaxis()->SetTitle(“T/K”);

(I guess the problem has something to do with: TTree.html#TTree:Draw the TPloyMarker3D is unnamed … and the access via htemp primitive works for GetZaxis, … but not for SetMarkerSize, SetFillColor, … ???)

     boris

The default marker type 1 (dot) is not scalable. Use marker 6 or 7 instead.
Note that the generated htemp inherits the properties of the paraent Tree, so you can do

ntuple.SetMarkerStyle(7); ntuple.Draw("x:z:y","","COLZ");

Rene

It works!

Thank you very much!