enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. legend - MathWorks

    www.mathworks.com/help/matlab/ref/legend.html

    Recalling the legend function does not reset legend properties, such as the location or orientation. If a legend exists, then the legend function updates the existing legend. An Axes object can have only one legend. The legend reflects the visibility of graphics objects in the axes.

  3. Adding a global legend to a tiledlayout - MATLAB Answers -...

    www.mathworks.com/matlabcentral/answers/542096-adding-a-global-legend-to-a...

    Learn more about tiledlayout, legend MATLAB Good morning, I'm using MATLAB R2020a Update 2. I have a tiledlayout of five (three by two) area plots and would like to use the sixth, currently empty, tile to add a global legend.

  4. TeX (LaTeX math mode) symbols in legends and labels in MATLAB...

    www.mathworks.com/matlabcentral/answers/21984

    Its done! Actually, the default interpreter in MATLAB for legend is 'tex', I guess. It is not changed from the code line. What I had to do was to right click on the legend in the figure window and then changed the 'interpreter' from 'tex' to 'latex'. This action changed the latex statement in the legend field to Math mode.

  5. Setting a title for a legend - MATLAB Answers - MATLAB Central -...

    www.mathworks.com/matlabcentral/answers/324848-setting-a-title-for-a-legend

    I found the answer after some research of the undocumented properties of the legend. The most direct answer to the problem in the question is to set the position of the legend title back to its place. This can be done with the property Position, that is part of the hidden property NodeChildren, of the legend title.

  6. How to set position of the legend outside the axes? - MATLAB...

    www.mathworks.com/matlabcentral/answers/1806340-how-to-set-position-of-the...

    Select a Web Site. Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select:

  7. How can I hold the previous "legend" on a plot? - MATLAB ... -...

    www.mathworks.com/matlabcentral/answers/9434

    In sufficiently new MATLAB, if you called legend without passing in a list of graphics objects, then MATLAB will automatically add new objects created after that point to the legend. Occasionally you may need to

  8. Adding variable values into legend - MATLAB Answers - MathWorks

    www.mathworks.com/matlabcentral/answers/450587-adding-variable-values-into-legend

    The legend call wants one plotted object (line, marker, etc.) for each item in it, and will complain if there are more legend items than plotted objects. In that context, the text call is likely your best option. I’ve used an ‘empty’ subplot position for a legend location from time to time, using the 'Position' property to place it.

  9. Subscripts in MATLAB Legends - MATLAB Answers - MATLAB Central -...

    www.mathworks.com/matlabcentral/answers/183015

    Subscripts in MATLAB Legends. Learn more about legend, subscripts, plots, bug Robust Control Toolbox, Control System Toolbox This is a very basic question, and as my code suggests, it should work, but it's not: I want have the variables in these legend keys have subscripts, but when MATLAB displays the graph, they appear...

  10. How do I change the font size in my legend? - MATLAB Answers -...

    www.mathworks.com/matlabcentral/answers/101246

    You can change the font size for a MATLAB legend by setting the 'FontSize' property of the Legend object. For example, plot four lines. Create a legend and assign the Legend object to the variable 'lgd'.

  11. How do I skip items in a legend? - MATLAB Answers - MathWorks

    www.mathworks.com/matlabcentral/answers/406

    After that, turn the legend on, click on the legend and the "legend property editor" will be displayed. Go to the "more properties" option. You can see an entry titled "String" specified as a "1xN cell array". Click on the cell array icon and set the size as "1xN-m". Now, only the first N-m curves will be displayed in Legend.