Problems with legend in R2016b
Why can I no longer add a plot with a legend in R2016b same way it used to be in previews versions?
During the migration to R2016b or R2017a, the script show some problems with legend function in the plot.
An example is a simple line after a plot:
legend(‘Curve1′,’Curve2’,1);
While it used to work fine prior to R2016b, we see the following response :
Error using legend>process_inputs (line 582)
Invalid argument. Type ‘help legend’ for more information.
Error in legend>make_legend (line 340)
[autoupdate,orient,location,position,children,listen,strings,propargs] = process_inputs(ha,argin); %#ok
Error in legend (line 294)
make_legend(ha,args(arg:end),version);
Error in Script_plot (line 274)
legend(‘Curve1′,’Curve2’,1);Why can I no longer add a plot with a legend in R2016b same way it used to be in previews versions?
During the migration to R2016b or R2017a, the script show some problems with legend function in the plot.
An example is a simple line after a plot:
legend(‘Curve1′,’Curve2’,1);
While it used to work fine prior to R2016b, we see the following response :
Error using legend>process_inputs (line 582)
Invalid argument. Type ‘help legend’ for more information.
Error in legend>make_legend (line 340)
[autoupdate,orient,location,position,children,listen,strings,propargs] = process_inputs(ha,argin); %#ok
Error in legend (line 294)
make_legend(ha,args(arg:end),version);
Error in Script_plot (line 274)
legend(‘Curve1′,’Curve2’,1); Why can I no longer add a plot with a legend in R2016b same way it used to be in previews versions?
During the migration to R2016b or R2017a, the script show some problems with legend function in the plot.
An example is a simple line after a plot:
legend(‘Curve1′,’Curve2’,1);
While it used to work fine prior to R2016b, we see the following response :
Error using legend>process_inputs (line 582)
Invalid argument. Type ‘help legend’ for more information.
Error in legend>make_legend (line 340)
[autoupdate,orient,location,position,children,listen,strings,propargs] = process_inputs(ha,argin); %#ok
Error in legend (line 294)
make_legend(ha,args(arg:end),version);
Error in Script_plot (line 274)
legend(‘Curve1′,’Curve2’,1); legend, plot MATLAB Answers — New Questions