INSET
You have a spectrum with a lot of peaks. You want to enlarge one or more subset of peaks and display them over or nearby the originals. You want to display the scale for both. You want to display the peak frequencies for both. You want to print this to a hard copy. You want a lot. Guess what? You got it. Just run the macro inset. The inset macro is a powerful little script that provides nice, hard copy spectrum. So how do you do it?

  1. Display your spectrum in the graphics window. Set the scale and the left - right boundaries that you want.
  2. Type s1 to save your settings. You click on Main Menu and then Plot. Next, select all of the items you want to plot except do not select page You now need to define and select all of the items you want to plot for your inset peaks before you obtain the hardcopy.
  3. Set the left and right cursors around the peaks you want to enlarge and type inset. The peaks between your cursors are copied and set above your baseline spectrum.
  4. A new set of menu buttons appears. cursor, sc wc, expand, sp wp, plot, ds, and return.
  5. Cursor is a no-brainer. Sc wc is equivalent to using the left mouse button to drag the inset spectrum to the left or right of the screen. Dragging with the right mouse button will stretch or shrink the spectrum width.
  6. Expand is the normal command to set your left and right cursor around an area of interest and zoom in on it.
  7. Sp wp: after selecting this button, the left mouse button will scroll the spectrum to the left or right in the defined window while the right mouse button compacts or squeezes the spectrum together depending on whether you click above or below the horizontal line.
  8. Plot puts your info into the plotting buffer. If you type page on the command line then all info placed into the plotting buffer will generate a hard copy at this point. If you type page('filename.ps') a file will be generated and saved as a postscript file instead.
  9. If you want additional insets for your hard copy then don't type page yet but instead type r1 to retrieve your original spectrum and ds to display it. Proceed with step #3 through step #8 until you have all of the insets that you want.

This write-up may not be complete but is more than enough to get one started on using the macro inset. The best way to really become familiar with the macro is to sit down and work through it a couple of times. As always, If you have any questions, please ask one of the "more than willing" helpful, happy NMR staff members.

Enjoy



Back to IUNMR Facility Home Page
Send comments to: chemnmr@indiana.edu
Last updated: August 11th, 1999
URL: http://nmr.chem.indiana.edu/NMRguide/inset.html
Copyright 1997, The Trustees of Indiana University