Hi
I'm using TMarker to produce a symbol like x and I fix its size by SetMarkerSize(1.); the problem arises when saving with Print("file.eps"): the size of the Marker is adapted to the horizontal length of the eps image. This effect is not apparent on the screen, it appears after printing. Can I have a fixed size, on both the screen and the eps? Giovanni
The code is the following.
using namespace std;
TCanvas *canapa = new TCanvas("prova","prova",0,0,200,100);
canapa->Range(0,0,11,15);
TMarker *m1 = new TMarker(1,1,5);
m1->SetMarkerSize(1.); m1->Draw(); TMarker *m1 = new TMarker(1,10,5); m1->SetMarkerSize(1.); m1->Draw(); TMarker *m1 = new TMarker(10,10,5); m1->SetMarkerSize(1.); m1->Draw(); canapa->Print("prova.eps"); TCanvas *canapa1 = new TCanvas("prova1","prova1",0,0,400,100); canapa1->Range(0,0,11,15); TMarker *m1 = new TMarker(1,1,5); m1->SetMarkerSize(1.); m1->Draw(); TMarker *m1 = new TMarker(1,10,5); m1->SetMarkerSize(1.); m1->Draw(); TMarker *m1 = new TMarker(10,10,5); m1->SetMarkerSize(1.); m1->Draw(); canapa1->Print("prova1.eps");Received on Fri Nov 13 2009 - 17:23:02 CET
This archive was generated by hypermail 2.2.0 : Fri Nov 13 2009 - 23:50:02 CET