Ticket #80 (closed enhancement: fixed)

Opened 8 months ago

Last modified 7 months ago

Enable the use of matplotlib in PyRAF plotting

Reported by: sontag Assigned to: sontag
Priority: normal Milestone: PyRAF 1.6
Component: none Version:
Severity: normal Keywords:
Cc:

Description

An effort is underway to enable the use of matplotlib (TkAgg? backend) in PyRAF plotting.

The use of anti-grain geometry (AGG) would have the advantage of making plot lines look smoother, and the use of matplotlib text/fonts has the potential to make the plot text more legible at varying window sizes.

One known difficulty is that PyRAF gets plotting instructions at a very low level (GKI). This means that the matplotlib kernel would likely not be able to make useful assumptions about instructed plot elements (axes, tick marks) etc., since these instructions would be nearly indistinguishable from those used to plot regular data.

Change History

03/04/08 16:04:27 changed by sontag

  • status changed from new to closed.
  • resolution set to fixed.

A beta version of this capability was added in r820 and r821. There will no doubt be some things to fix as users begin to try this out.

Enable the matplotlib kernel via:

     setenv PYRAFGRAPHICS matplotlib