At 16:02 08/08/2003 +0100, Kim Rutherford wrote:


To add a new plot to Artemis you'll need to add a new class to the
diana.sequence package and edit the BasePlotGroup constructor.



Thanks, seems to work nicely. Just to summarise for anybody else that is interested:

1) setenv CLASSPATH /usr/local/artemis, or whatever
2) put newplot.java in diana/plot, whatever your new plot codes for
3) javac newplot.java
4) open diana/components/BasePlotGroup.java
5) cp BasePlotGroup.java BasePlotGroup.java.bak (just in case of typing calamity)
6) at line 146, add the following 2 lines


addAlgorithm (new newplot (forward_strand)); // or whatever your new plot is called
addAlgorithm (new newplot (reverse_strand));


7) javac BasePlotGroup.java
8) restart artemis, and new plot should appear in Graph menu

Cheers
Derek




Reply via email to