.:cplot:home
Jump to navigation
Jump to search
CPLOT
CPLOT is a software program that quickly plots data from flights of the University of North Dakota's Citation research aircraft. CPLOT is written in IDL which is a commercial software development package. Anyone can run the program by downloading the cplot.sav file and using the IDL virtual machine. No IDL license is needed to run CPLOT.
To Download
- Download the cplot.sav file.
- Create a directory on your computer to save the "cplot.sav" file in, i.e. C:\Program Files\cplot.
- Download cplot.sav to your computer, i.e. c:\Program Files\cplot.
- Download and install the IDL virtual machine.
- The IDL virtual machine can be downloaded from http://www.ittvis.com/Downloads/ProductDownloads.aspx
NOTE: The download file is very large. - Run the IDL installation program, i.e. idl64.exe
- Choose to install IDL.
- When asked, choose to install the "IDL Virtual Machine", you don't need the full "IDL" development package.
- Create a shortcut on the desktop to start IDL.
- Right click on the desktop background
- Select New/shortcut
- Type in the following for the location (Assuming IDL6.4 was installed in the default location and the cplot.sav file was placed in c:\Program Files\cplot):
c:\RSI\IDL64ubin\bin.x86\idlrt.exe -vm="c:\Program Files\cplot\cplot.sav"
- Update software for any scripts(The whole ADPAA package)
- Change directory to /usr/local/ADPAA/src
- Type this command into the terminal; svn update
- Change directory to build
- Type this command into the terminal; make
- How to change scripts
- Make sure to update software before you change a script
- After updating software, change your directory to /usr/local/ADPAA/src
- Change your directory to scripts.
- To get the syntax on any scripts you can type the script name and the word help
Example: cd scripts convert2kml help Syntax convert2kml [start=n] [end=n] [format=format] [format_s=format_s] [fill=MVC's] [mvcfield=n] [newmvc=n] < input file > output file
How to Run cplot on Linux/UNIX
Two ways:
- Open a terminal:
- Enter 'cplot' followed by the filename in which you wish to open. Note: Be in the directory of the file.
or
- Open a terminal:
- Enter 'cplot', and hit enter.
- Click on Browse on the graphical interface that shows up.
- Enter the directory of the file that you want to bring up in cplot.
- Double click on the directory and then click on the file that you want.
- Click 'ok', 'open file'.
Walk Through
- This section describes cplot and its various features.
To Make A Plot
- Choose a unit for the x-axis of your plot.
- Choose a unit for the y-axis of your plot.
- Click on plot and then choose type of plot.
Adding additional lines to plot
- Select the unit under the axis you wish to add.
- Click on plot and then overlay.
- Choose formatting and click ok.
To Change Background Color
- Click edit and then settings.
- Then move background slide bar under color palette. Note: 0 = Black and 225 = White.
To Change Foreground Color
- Repeat Background process, but for the foreground slide bar.
To Edit Labels on Plot
- Click edit and then text.
- To edit the names of labels:
- Under Plot Titles, type edits into corresponding section (x-axis, y-axis, main).
- To edit the font size:
- Under Plot Font Sizes, type desired size into corresponding boxes (overall, x-axis, y-axis).
To Gather Statistic Information for Box Plots
- use the command:
- cplot stats outputstats r_para = X y_para = Y stats_file = <17 Characters Long>.stats <Input file>
- Where r_para is used to indicate the use of a ratio of 2 variables
- Where y_para is the numerator value of the ratio, or simply the y parameter to be plotted
Once the ***.stats_file is created, this file can be run in Cplot. If everything is right (17characters long before the .stats.*** file name) there will be a boxplots option in the plot menu.