view m-toolbox/test/graph_test.m @ 35:4be5f7a5316f
database-connection-manager
Suppress output messages on preferences loading and saving
author |
Daniele Nicolodi <nicolodi@science.unitn.it> |
date |
Mon, 05 Dec 2011 16:20:06 +0100 (2011-12-05) |
parents |
f0afece42f48 |
children |
|
line source
% Exploring how to plot graphs.
%
clear;
h1 = history('n1', '0.1');
h2 = history('n2', '0.1');
h3 = history('n3', '0.1', [], h1);
h4 = history('n4', '0.1', [], h2);
h5 = history('n5', '0.1', [], [h3 h4]);
h6 = history('n6', '0.1')
h7 = history('n7', '0.1')
h8 = history('n8', '0.1', [], [h6 h7])
h9 = history('n9', '0.1', plist([param('a', 1) param('b', 2)]), [h5 h8])
% make nodes from history
[h,ax] = plot(h9)
title('test')
%%
% treeplot([0 1 1 2 3])