Ahora está siguiendo esta publicación
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
ARRAY2LEGEND(Data,PreStr) generates a legend based on the numbers in the specified variable Data
legendHandle = array2legend(Data,{Prestr Poststr},pattern)
with a defined Pre-string and optionally a Post-string and or string-pattern. The basic code that is run at the end is:
legend(num2str(Data(:),[str{1} pattern str{2}]))
Alternative use:
matrix2legend(Data,Prestr)
% or
matrix2legend(Data,Prestr, Poststr)
Citar como
Micke Malmström (2026). array2legend (https://es.mathworks.com/matlabcentral/fileexchange/112165-array2legend), MATLAB Central File Exchange. Recuperado .
Información general
- Versión 1.0.1 (1,6 KB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
