plotcbmap

PURPOSE ^

SYNOPSIS ^

function plotcbmap()

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function plotcbmap()
0002 import java.awt.*;
0003 import java.awt.event.*;
0004 import javax.swing.*;
0005 import processing.core.*;
0006 import MatlabPlot.*;
0007 % create window in which applet will execute
0008 applicationWindow = JFrame( 'Metabolic Network Plot' );
0009 width = 1285;
0010 height = 965;
0011 % create one applet instance
0012 global appletObject
0013 appletObject = MatlabPlot;
0014 
0015 % call applet's init and start methods
0016 appletObject.init;
0017 appletObject.start;
0018 
0019 % attach applet to center of window
0020 applicationWindow.getContentPane.add( appletObject );
0021 
0022 % set the window's size
0023 applicationWindow.setSize( width, height );
0024 
0025 % showing the window causes all GUI components
0026 % attached to the window to be painted
0027 applicationWindow.show;
0028 %setData(appletObject, 400+randn(1000,1)*130, 300+randn(1000,1)*90, rand(1000,1)*220, ones(1000,1)*80);

Generated on Thu 21-Jun-2012 15:39:23 by m2html © 2003