Functions | |
if (nargin!=2 &&nargin!=3) print_usage() | |
endif | if (!ischar(opt)) return |
if (strcmp(caller,"__errplot__")) if(strncmp(opt | |
elseif (strncmp(opt,"#~", 2)||strncmp(opt,"~>", 2)) n | |
elseif (strncmp(opt,"~", 1)||strncmp(opt,">", 1)||strncmp(opt,"#", 1)) n | |
opt (1:n) | |
endif | while (!isempty(opt)) if(strncmp(opt |
1:2 | opt () |
if (topt=="-"||topt==":") have_linestyle | |
elseif (topt=="+"||topt=="o"||topt=="*"||topt=="."||topt=="x"||topt=="s"||topt=="d"||topt=="^"||topt=="v"||topt==">"||topt=="<"||topt=="p"||topt=="h"||topt=="@") have_marker = [0, 0, 0] | |
elseif (isspace(topt)) elseif(topt | |
if (t) options.key | |
Variables | |
function [options, valid] | |
valid = true | |
more_opts = 1 | |
endif | have_linestyle = false |
have_marker = false | |
n = 3 | |
endif options | linestyle = opt(1:n) |
else | topt = opt(1) |
endif options | marker = topt |
elseif | ( | isspace(topt) | ) |
elseif | ( | topt | = ="+"||topt=="o"||topt=="*"||topt=="."||topt=="x"||topt=="s"||topt=="d"||topt=="^"||topt=="v"||topt==">"||topt=="<"||topt=="p"||topt=="h"||topt=="@" |
) | = [0, 0, 0] |
elseif | ( | strncmp(opt,"~", 1)||strncmp(opt,">", 1)||strncmp(opt,"#", 1) | ) |
elseif | ( | strncmp(opt,"#~", 2)||strncmp(opt,"~>", 2) | ) |
if | ( | t | ) |
if | ( | strcmp(caller,"__errplot__") | ) |
endif if | ( | ! | ischaropt | ) |
if | ( | nargin! | = 2 &&nargin!=3 |
) |
1:2 opt | ( | ) | [virtual] |
opt | ( | 1:n | ) |
endif while | ( | ! | isemptyopt | ) |
have_linestyle = false |
have_marker = false |
more_opts = 1 |
n = 3 |
valid = true |