Publisher review:graph_and_table creates a graph and a data table below it. Creates a graph and a data table below it. the table is put in an activex control using the column labels colhead.This function is meant to be an example for CSSM and not to be used as is.It is meant to demonstrate ActiveX grid usage and works with MSFLEXGRID (which comes with Windows and doesn't allow editing) and SIMPLE GRID.
Use 'SGRID' for the whichgrid parameter to use simple grid, but you must first you must download it from the above website and register it. To register, find sgrid.ocx by clicking on the windows start button and selecting "find". Change your directory to its directory and type "regsvr32 sgrid.ocx".
___________________ ____________________ | / | | / | X Y ##| / / / /| | || || 1 1.0 ##| / / _// | || ||/|| 2 1.5 ##|_/_________________| || | | ||| 3 2.0 ##| X Y || || |/ | 4 1.6 ##| 1 1.0 || || | 5 2.0 ||| 2 1.5 ## | | 6 2.5 |||__3__2.0__________|| |_________|__7__2.3_||horizontal split vertical splitINPUTS DESCRIPTION DEFAULT VALUEx x data [1:10]y y data rand(size(x));colhead table header {'X','Y'};vertorhoriz vert or horiz split 0 %(vertical)figuretitle figure title 'graph_and_table'whichgrid MSFlexGrid or Simple Grid 'MSFlexGrid'OUTPUTS:h.fig handle to figureh.graph handle to graphh.line handle to data lineh.grid handle to grid objectUSAGE:x=1:10;y=rand(size(x));colhead={'X','Y'};vertorhoriz=0; verticalfiguretitle='graph_and_table';h=graph_and_table(x,y,colhead,vertorhoriz,figuretitle);vertorhoriz=1; horizontalh=graph_and_table(x,y,colhead,vertorhoriz,figuretitle);h=graph_and_table(x,y,colhead,vertorhoriz,figuretitle,'SGRID'); Requirements: ยท MATLAB Release: R13
graph_and_table is a Matlab script for Development Tools scripts design by Michael Robbins.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
graph_and_table creates a graph and a data table below it.
Operating system:Windows / Linux / Mac OS / BSD / Solaris