How to keep the coordinate system the same when plotting usrbin distributions

From: Mina Nozar <nozarm_at_triumf.ca>
Date: Thu, 11 Oct 2012 12:18:29 -0700

Hello everyone,

I have noticed that when plotting quantities scored via usrbin, the vertical axis is reversed (+ to - and vice versa).
This doesn't happen when plotting the geometry (plan view of the layout for instance). How can one keep the viewpoint
the same when looking at 2D plots of a 3D distribution? I am not sure why this happens in the first place since it
makes visualizing things difficult.

Attached please find two plots which show this effect. The first one is a simple geometry plot of the setup where the
axis directions are the same as constructed in the geometry. The second one is the beamparticle distribution on the
same plane. Here the vertical axis (X in my case) is flipped by default.

Thanks and best wishes,
Mina

Geometry-PlanView.png TR24_O18_BPdist.png
Received on Fri Oct 12 2012 - 10:07:36 CEST

This archive was generated by hypermail 2.2.0 : Fri Oct 12 2012 - 10:08:06 CEST