LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
plot.m
1function plot(self, options)
2% PLOT Display network diagram using TikZ/LaTeX
3%
4% PLOT() displays the network as a TikZ diagram in the system's
5% default PDF viewer. This is an alias for tikzView().
6%
7% PLOT(OPTIONS) displays with custom TikZOptions configuration.
8%
9% Requires pdflatex to be installed.
10%
11% Example:
12% model.plot()
13% opts = jline.io.tikz.TikZOptions();
14% opts.setNodeSpacing(4.0);
15% model.plot(opts)
16%
17% Copyright (c) 2012-2026, Imperial College London
18% All rights reserved.
19
20if nargin < 2
21 self.tikzView();
22else
23 self.tikzView(options);
24end
25end