Could you use some kind of scale transformation on the chromatogram's Graphics2D object, rather than modifying the data?
http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Graphics2D.html#scale(double,%20double) cheers, Richard 2008/11/3 [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Hello, > > > I want to provide a slider where the user can change dynamically the height of > the peaks of a chromatogram. To do this I change the maxTraceValue variable > and set the maximum values lower than they are in reality. > Does there exist a better method do this? > > > Best regards, > Daniel Struck > _________________________________________________________ > Mail sent using root eSolutions Webmailer - www.root.lu > > > _______________________________________________ > Biojava-l mailing list - [email protected] > http://lists.open-bio.org/mailman/listinfo/biojava-l > -- Richard Holland, BSc MBCS Finance Director, Eagle Genomics Ltd M: +44 7500 438846 | E: [EMAIL PROTECTED] http://www.eaglegenomics.com/ _______________________________________________ Biojava-l mailing list - [email protected] http://lists.open-bio.org/mailman/listinfo/biojava-l
