- Image consensus = nullFrame.createImage(fullsizeWidth, 60);\r
- Graphics g = consensus.getGraphics();\r
- ap.annotationPanel.drawGraph(g, av.conservation, fullsizeWidth, 60);\r
- mg.drawImage(consensus, 0, sequencesHeight, width,\r
- sequencesHeight + graphHeight, 0, 0, fullsizeWidth, 60, this);\r
-\r
- boolean oldRenderGaps = av.renderGaps;\r
- try\r
+ float sampleCol = (float) alwidth / (float) width;\r
+ float sampleRow = (float) alheight / (float) sequencesHeight;\r
+\r
+ int lastcol=0, lastseq=0;\r
+ int xstart=0, ystart=0;\r
+ Color color = Color.yellow;\r
+ int col, sameRow = 0, sameCol = 0;\r
+ jalview.datamodel.SequenceI sequence;\r
+\r
+ for (int row = 0; row <= sequencesHeight; row++)\r