2D Plotting in FRED

The purpose of this article is to describe two scripts which work together to demonstrate how to plot multiple data series in a custom FRED chart.

The FRED file associated with this document contains two embedded scripts:

  1. chartLibraryExampleMaster – This script generates a user-specified number of Gaussian profiles and then calls the ScatterPlot subroutine from the chartLibrary script to handle the creation of a custom chart.
  2. chartLibrary – This script contains a subroutine called ScatterPlot which accepts an arbitrary number of data series and plots them in a FRED chart window.

Download the PDF: 2D-Plotting-in-FRED.pdf

Download the FRED script: chartLibrary1.frs

Download the FRED file: fredChartExample1.frd