Just provide the color you want to the function and that's it!
Example for single arrow:
my_color = 'r';
squiggly_arrow(my_color)
Example for double arrow:
my_color = '#64B900';
squiggly_arrow2(my_color)
I recommend using export_fig (https://www.mathworks.com/matlabcentral/fileexchange/23629-export_fig) for easily exporting the squiggly arrow as .png. You can without any background as:
export_fig('your_file_name','-r300','-transparent')
Cita come
Sergio Yanez-Pagans (2024). Squiggly Arrows (https://www.mathworks.com/matlabcentral/fileexchange/111275-squiggly-arrows), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2021a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0 |