Bug 115229

Summary: ability to line up plot axes
Product: [Applications] kst Reporter: George Staikos <staikos>
Component: plottingAssignee: kst
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: claude.mercier
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description George Staikos 2005-10-27 22:07:15 UTC
Kst needs a mechanism to line up the X axes and scales of plots so that the 
same x-axis values correspond to the same pixels on-screen.
Comment 1 Netterfield 2005-10-29 01:11:49 UTC
How does this relate to our current 'internal alignment'?
Comment 2 George Staikos 2005-10-29 02:38:16 UTC
On Friday 28 October 2005 19:11, netterfield@astro.utoronto.ca wrote:
> 01:11 ------- How does this relate to our current 'internal alignment'?


  It requires that, but I'm not sure it's really related.  It's a data-space 
thing vs a plot-space thing.
Comment 3 Netterfield 2005-10-29 17:48:48 UTC
So is this tied zooming?
Comment 4 George Staikos 2005-10-29 18:03:21 UTC
On Saturday 29 October 2005 11:48, netterfield@astro.utoronto.ca wrote:
> 17:48 ------- So is this tied zooming?


  Interesting, I didn't even think to suggest this approach.  That will work 
too.  Also Match Axis in the context.  The problem with Match Axis is that it 
also matches the Y axis which I understand is not what they want.

  Claude, do you need something more than Match Axis and tied zooming provide?
Comment 5 George Staikos 2005-10-29 18:37:29 UTC
Ok reporter says tied zoom is a fine approach for it.
Comment 6 claude mercier 2005-10-31 10:04:14 UTC
I did not know about this Match axis function, which could be useful, but
it does not solve our problem, as it also match Y axis, would be nice if we
could match all X axis of a windows, leaving Y scale untouched, otherwise
it is useless in our case.

This is not exactly what we were asking, kst decides where is the zero label positioned, we would like to be able to say, 
"put the zero at the crossing of X,Y axis". 
It now puts the zero at the same place for all plots 
most of the time but not always, and not necessarily at the X,Y axis crossing.
Comment 7 Netterfield 2005-10-31 15:30:26 UTC
This sounds like tied X zoom:

 -Select the tie boxes for the plots you want to match the X axes for
 -In one of them zoom X only with the mouse (eg, <shift>mouse-zoom).

All of the tied boxes will now have the same X axes, with the Y axes 
unchanged.

cbn
Comment 8 Peter Kümmel 2010-08-14 14:40:48 UTC
Change version to 1.x