This page was created by the IDL library routine `mk_html_help2`.

Last modified: Mon Aug 25 17:03:10 2025.

# Directory Listing of Routines

# general/spedas_tools/tplot2ap

- AP2TPLOT
  Loads the data from the current Autoplot window into tplot variables
- CRIB_TPLOT2AP
  Crib sheet showing how to send data to Autoplot
- TPLOT2AP
  Send tplot variables to Autoplot

# Routine Descriptions

## AP2TPLOT

[Next Routine] [List of Routines]

     PROCEDURE:
             ap2tplot

     PURPOSE:
             Loads the data from the current Autoplot window into tplot variables

     KEYWORDS:
             port: Autoplot server port (default: 12345)
             connect_timeout: connection timeout time in seconds (default: 6s)
             read_timeout: read timeout time in seconds (default: 30s)
             local_data_dir: set the local data directory
             clear_cache: delete all temporary CDF files stored in the local data directory

     EXAMPLE:
             IDL> ap2tplot

     NOTES:
             This routine is very experimental; please report problems/comments/etc to:  egrimes@igpp.ucla.edu

             Please use the latest devel release of Autoplot: http://autoplot.org/jnlp/devel/

             For this to work, you'll need to open Autoplot and enable the 'Server' feature via
             the 'Options' menu with the default port (12345)

             This routine sends the Autoplot data to tplot via a CDF file stored in your
             default local data directory (so this creates a 'temporary' file every time you
             send data to Autoplot)

             On Windows, you'll have to allow Autoplot / SPEDAS to have access to the
             local network via the Firewall (it should prompt automatically, simply
             click 'Allow' for private networks)

     $LastChangedBy: egrimes $
     $LastChangedDate: 2019-04-15 14:00:43 -0700 (Mon, 15 Apr 2019) $
     $LastChangedRevision: 27020 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/spedas_tools/tplot2ap/ap2tplot.pro $

(See general/spedas_tools/tplot2ap/ap2tplot.pro)

## CRIB_TPLOT2AP

[Previous Routine] [Next Routine] [List of Routines]

     PROCEDURE:
             crib_tplot2ap

     PURPOSE:
             Crib sheet showing how to send data to Autoplot

     NOTES:
             For this to work, you'll need to open Autoplot and enable the 'Server' feature via
             the 'Options' menu with the default port (12345)

     $LastChangedBy: egrimes $
     $LastChangedDate: 2018-01-12 08:46:29 -0800 (Fri, 12 Jan 2018) $
     $LastChangedRevision: 24514 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/spedas_tools/tplot2ap/crib_tplot2ap.pro $

(See general/spedas_tools/tplot2ap/crib_tplot2ap.pro)

## TPLOT2AP

[Previous Routine] [List of Routines]

     PROCEDURE:
             tplot2ap

     PURPOSE:
             Send tplot variables to Autoplot

     INPUT:
             tvars:  string or array of tplot variables to send to Autoplot

     KEYWORDS:
             port: Autoplot server port (default: 12345)
             connect_timeout: connection timeout time in seconds (default: 6s)
             read_timeout: read timeout time in seconds (default: 30s)
             local_data_dir: set the local data directory
             clear_cache: delete all temporary CDF files stored in the local data directory

     EXAMPLE:
             IDL> tplot2ap, 'tplot_variable'

     NOTES:
             For this to work, you'll need to open Autoplot and enable the 'Server' feature via
             the 'Options' menu with the default port (12345)

             This routine sends the tplot data to Autoplot via a CDF file stored in your
             default local data directory (so this creates a 'temporary' file every time you
             send data to Autoplot)

             On Windows, you'll have to allow Autoplot / SPEDAS to have access to the
             local network via the Firewall (it should prompt automatically, simply
             click 'Allow' for private networks)

     $LastChangedBy: egrimes $
     $LastChangedDate: 2018-05-22 08:38:07 -0700 (Tue, 22 May 2018) $
     $LastChangedRevision: 25244 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/spedas_tools/tplot2ap/tplot2ap.pro $

(See general/spedas_tools/tplot2ap/tplot2ap.pro)