altmany / export_fig

A MATLAB toolbox for exporting publication quality figures
BSD 3-Clause "New" or "Revised" License
1.28k stars 368 forks source link

Function calling #275

Closed ElenaMP89 closed 5 years ago

ElenaMP89 commented 5 years ago

Hi, I think this function is aswsome but I have a doubt when calling the function this way: export_fig('filename', name, 'nocrop', -nocrop) How can I call the nocrop parameter in this form? On the other hand, if i call the function using this: filename = 'C:\Users\Elena\Desktop\TFG\Pruebas rotación\example.jpg' export_fig filename -nocrop It won't recognise the filename i have determined. Thanks!

Trenar commented 5 years ago

Just call export_fig(filename, '-nocrop'); without using name-value pairs