Mercurial > octave
view test/mex/bug_51725.c @ 28240:2fb684dc2ec2
axis.m: Implement "fill" option for Matlab compatibility.
* axis.m: Document that "fill" is a synonym for "normal". Place "vis3d" option
in documentation table for modes which affect aspect ratio. Add
strcmpi (opt, "fill") to decode opt and executed the same behavior as "normal".
author | Rik <rik@octave.org> |
---|---|
date | Fri, 24 Apr 2020 13:16:09 -0700 |
parents | e255f09dc70e |
children |
line wrap: on
line source
#include "mex.h" void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { if (nlhs > 0) plhs[0] = mxCreateDoubleMatrix (0, 0, mxREAL); if (nlhs > 2) plhs[2] = mxCreateDoubleMatrix (0, 0, mxREAL); }