فرض کنین یه تابع مثله sin کشیدیم ... حالا می خایم اون فیگور ( پنجره نمایش ) رو به طور کل save کنیم . دقت کینن با استفاده از دستور ... نه موس و ...
ممنون می شم راهنمایی کنید
Example 1: Specify File Extension
Save the current figure that you annotated using the Plot Editor to a file named pred_prey using the MATLAB fig
format. This allows you to open the file pred_prey.fig at a later time and continue editing it with the Plot Editor. saveas(gcf,'pred_prey.fig'
Example 2: Specify File Format but No Extension
Save the current figure, using Adobe Illustrator format, to the file logo. Use the ai extension from the above table to
specify the format. The file created is logo.ai. saveas(gcf,'logo', 'ai'
This is the same as using the Adobe Illustrator format from the print devices table, which is -dill; use doc print or
help print to see the table for print device types. The file created is logo.ai. MATLAB automatically appends the ai
extension for an Illustrator format file because no extension was specified. saveas(gcf,'logo', 'ill'
Example 3: Specify File Format and Extension
Save the current figure to the file star.eps using the Level 2 Color PostScript format. If you use doc print or help
print, you can see from the table for print device types that the device type for this format is -dpsc2. The file created is
star.eps. saveas(gcf,'star.eps', 'psc2'
In another example, save the current ******** block diagram to the file trans.tiff using the TIFF format with no
compression. From the table for print device types, you can see that the device type for this format is -dtiffn. The file
created is trans.tiff. saveas(gcf,'trans.tiff', 'tiffn'
End
دیدگاه