Once you've tinkered a little bit and gotten everything how you want it, you can save the current export settings as default so you don't have to do it every time you save a figure. By default it set to 'auto'.Īs with the command line, there are many printing options you can adjust in the File menu.
HOW TO PRINT RESULTS TO SCREEN IN MATLAB 2017 FREE
Usually 300 dots-per-inch (dpi) is plenty high enough resolution for my purposes, but feel free to go. for example, to read the description of sum function write in the MATLAB command windows. Use help command in MATLAB for more details about the build-in functions. These include sum, max, min, mean, median, and mode, as well as many matrix algebra functions.
Command line: Using print, just include the option -r, where if the resolution you want. MATLAB contains many built-in functions to create and manipulate/analyze matrices. print(gcf,'foo.png','-dpng','-r300') *// 300 dpiĬheck out the MATLAB print documentation to see all the print options you can adjust like this.įile menu: Or using 'File -> Export Setup.', on the left select 'Rendering', then adjust the 'Resolution (dpi)'. You can specify a desired resolution to save the image, either from the command line or from the File menu. Obviously the higher the dpi the larger the image file size will be. Usually 300 dots-per-inch (dpi) is plenty high enough resolution for my purposes, but feel free to go higher if needed. C++ Program to enter an amount and display no. C++ Program to display the sum of this series: 1+1/2+1/3.1/n. Using print, just include the option -r#, where # if the resolution you want. Program to display the following pattern: 3 4444444 555555555. You can specify a desired resolution to save the image, either from the command line or from the File menu.