[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Wed Jan 28 06:10:17 CET 2004


Oh.  That introduces a bit of a logic problem then.  Here is what I did:

Plot A -> INDEX vs rvector 1
Plot B -> INDEX vs rvector 2
Plot C -> something else completely random and unrelated

Tie A and B so that I can see specific parts of them in sync

Then decide to work on C for a while, zoom there, notice that A and B also 
zoom to some weird/random location.

IMHO it makes complete sense for any of the tied ones to zoom the other tied 
ones, but anything that is untied should be completely independent.


On Tuesday 27 January 2004 23:53, C. Barth Netterfield wrote:
> Interesting change.
>
> The previous rule, which was intentional, was that all tied plots reflected
> the zoom of the current plot, even if the current plot wasn't tied.
>
> I'm not sure if this change will be nice, or annoying....  Have to play
> around with it a bit I guess.
>
> cbn
>
> On Tuesday 27 January 2004 10:55 pm, George Staikos wrote:
> > CVS commit by staikos:
> >
> > did tied zoom ever work properly?  This makes it zoom the proper graphs
> >
> >
> >   M +3 -3      kstview.cpp   1.77
> >
> >
> > --- kdeextragear-2/kst/kst/kstview.cpp  #1.76:1.77
> > @@ -806,5 +806,5 @@ void KstView::mouseReleaseEvent(QMouseEv
> >        for (i_plot = 0; i_plot < count; i_plot++) {
> >          iplot = KST::plotList.at(i_plot);
> > -        if (plot == iplot || iplot->isTied()) {
> > +        if (plot == iplot || (iplot->isTied() && plot->isTied())) {
> >            iplot->setXScaleMode(FIXED);
> >            iplot->setYScaleMode(FIXED);
> > @@ -832,5 +832,5 @@ void KstView::mouseReleaseEvent(QMouseEv
> >        for (i_plot = 0; i_plot < count; i_plot++) {
> >          iplot = KST::plotList.at(i_plot);
> > -        if (plot == iplot || iplot->isTied()) {
> > +        if (plot == iplot || (iplot->isTied() && plot->isTied())) {
> >            iplot->setYScaleMode(FIXED);
> >            iplot->setLYScale(new_ymin, new_ymax);
> > @@ -858,5 +858,5 @@ void KstView::mouseReleaseEvent(QMouseEv
> >        for (i_plot = 0; i_plot < count; i_plot++) {
> >          iplot = KST::plotList.at(i_plot);
> > -        if (plot == iplot || iplot->isTied()) {
> > +        if (plot == iplot || (iplot->isTied() && plot->isTied())) {
> >            iplot->setXScaleMode(FIXED);
> >            iplot->setLXScale(new_xmin, new_xmax);
> >
> >
> > _______________________________________________
> > Kst mailing list
> > Kst at kde.org
> > https://mail.kde.org/mailman/listinfo/kst
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/



More information about the Kst mailing list