Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To save a copy of the plot, click on Plot in the Export menu. Save the plot as deformed_mesh.fig. To convert from MATLAB's fig format to a more portable format, say, jpeg, open deformed_mesh.fig in MATLAB as follows: at the MATLAB prompt, type open('deformed_mesh.fig'). This will display the plot in a MATLAB window. You should always include a plot legend to tell the reader what the different lines correspond to. Take a few seconds to get frustrated that MATLAB loses the legend (aarrgggh!!bang!!bang!!). Clever engineers that we are, we'll add the legend back manually. Go to the MATLAB command prompt and type in the appropriate legend command: legend('Mesh','Deformed mesh (500x)'). You can move the legend around by dragging it. In the figure window, select File -> Save as. Under Save as type, select JPEG image and click Save. Open the jpeg image from your working folder to verify that it has been created properly.

...