plotting suggestion

From: John Houck <houck>
Date: Fri, 7 Dec 2001 12:38:45 -0500
It has been reported that when the character size is set to
some value significantly larger than 1, the axis labels of the
plot can fall off the edge of the plot.  For example, assuming
a data set has been loaded,

  charsize(2);
  plot_data_counts(1);
  
will lose the axis labels.

I believe this is caused by a bug in pgplot -- it does not
correctly compute the border size necessary for large labels.

To workaround this problem, you can adjust the "viewport" size
to creater wider borders. It is necessary to open the plot device
before adjusting the viewport size.

Assuming the plot device is already open, this

  _pgsvp (0.2, 0.8, 0.2, 0.8);
  charsize(2);
  plot_data_counts(1);

makes the borders wide enough to contain the plot labels.

The ISIS interface to the PGPLOT library is briefly described
in the ISIS manual. For more detailed documentation on the low
level PGPLOT routines, see the PGPLOT documentation.

John

-- 
John C. Houck    MIT Center for Space Research
617-253-3849     One Hampshire St, NE80-6005, Cambridge, MA 02139
----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe
Received on Fri Dec 07 2001 - 12:38:50 EST

This archive was generated by hypermail 2.2.0 : Thu Mar 15 2007 - 08:45:50 EDT