Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
VisualNEO Web 2018.12.15
SentiMask SDK Trial 1.0.0
OrgChart JS 4.6.4
dotConnect for BigCommerce 1.8
FedEx Smart Shipping For Magento 1.0.0
Database Workbench Pro 5.6.2.311
Taxi App Development 7.3
RentALL-Airbnb clone script 1.8.0
PHP Ecommerce Script 1.3.2
dbForge Studio for PostgreSQL 2.1
Rentonn - Airbnb clone 1.0
VisualNEO for Windows 18.08.31.0
SentiVeillance SDK Trial 7.0.191272
dbForge SQL Complete 6.1
Uber for E-Scooters 1.0
Top Code
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
Report About graph_and_table_ 1.0
- required fields

Please enter text on the image
  



Creates a graph and a data table below it. the table is put in an activex control using the column labels colhead

NOTE: TO SEE AN EXAMPLE OF HOW TO USE THE MICROSOFT SPREADSHEET OBJECT, WHICH ALLOWS INPUTS AS WELL AS CALCULATIONS, SEE MY EXAMPLE CALLED "SPREADSHEET.M" WHICH IS AVAILABLE ON THE MATHWORKS FILE EXCHANGE:
http://www.mathworks.com/matlabcentral/fileexchange

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 (which is available for free at
http://adfsoft.hypermart.net/sgrid/ ).

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 split

INPUTS DESCRIPTION DEFAULT VALUE
x 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 figure
h.graph handle to graph
h.line handle to data line
h.grid handle to grid object

USAGE:
x=1:10;
y=rand(size(x));
colhead={'X','Y'};
vertorhoriz=0; vertical
figuretitle='graph_and_table';
h=graph_and_table(x,y,colhead,vertorhoriz,figuretitle);
vertorhoriz=1; horizontal
h=graph_and_table(x,y,colhead,vertorhoriz,figuretitle);
h=graph_and_table(x,y,colhead,vertorhoriz,figuretitle,'SGRID');

See also: SPREADSHEET on the MATLAB File Exchange

IT'S NOT FANCY, BUT IT WORKS

Back