Skip to content

developer.Title_and_Label_Templates

Jeremy Faden edited this page Jun 14, 2024 · 3 revisions

Introduction. Right now, the title is derived from the metadata via a metadata model. The CDF file reader says, this is ISTP compliant metadata so CATDESC is the title. It might be nice to have the flexibility for allowing the client to specify how this is done. This might also finally deal with the problem of reporting the slice location as well, which current uses "!c(.*)=(.*)" to find the text to replace on updates.

title=%{CATDESC}

title=%{USER_PROPERTIES.CATDESC} @ %{CONTEXT}

yaxis label=%{LABEL}(%{UNITS})

Note USER_PROPERTIES are properties QDataSet propogates but doesn't interpret.

Note the Axis tab titles and labels have a right-click context menu to add macros.

Current Support

See sftp://papco.org/home/jbf/ct/autoplot/script/development/rfe426/demo.jyds

Legend Label

%{USER_PROPERTIES.VERSION} works. I had to add a putProperty branch that would support PyDict to use this in a Jython script.

Get data from CDF metadata: Mission Group: %{METADATA.GlobalAttributes.Mission_group}!cSource: %{METADATA.GlobalAttributes.Source_name}

Title

%{USER_PROPERTIES.VERSION} does not work.

I've made it so that the title and the plotElement legend use the same code. This code assumes that it's okay to use the first plot element to get dataset metadata.

XAxis and YAxis

Table Of Contents

URIs that Point to Data Files

Download a CDF and Plot it with Autoplot

Load a CDF directly from a website

URIs that Point to Data Servers

Saving to vap files

Loading vap files

Data Sources

CDF Files

HDF/NetCDF Files

Aggregation

CDAWeb

HAPI Servers

Exporting Data

Export Types

Additional controls

Aggregation

Tools

PNGWalk Tool

Data Mash Up

Events List

Run Batch

Advanced Topics

TimeSeriesBrowse and other Capabilities

Events Lists

Caching

Autoranging

Managing Autoplot's Data Cache

Using Autoplot with Python, IDL, and Matlab

Reading data into Python

Reading data into IDL

Reading data into Matlab

QDataSet Data Model

Clone this wiki locally