This file is indexed.

/usr/share/doc/libstarlink-ast-doc/node29.html is in libstarlink-ast-doc 8.6.2+dfsg-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<!--Converted with LaTeX2HTML 2008 (1.71)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>...Display a Graphical Coordinate Grid</TITLE>
<META NAME="description" CONTENT="...Display a Graphical Coordinate Grid">
<META NAME="keywords" CONTENT="sun211">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META NAME="Generator" CONTENT="LaTeX2HTML v2008">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="sun211.css">

<LINK REL="next" HREF="node30.html">
<LINK REL="previous" HREF="node28.html">
<LINK REL="up" HREF="node13.html">
<LINK REL="next" HREF="node30.html">
</HEAD>

<BODY >

<DIV CLASS="navigation"><!--Navigation Panel-->
<A NAME="tex2html703"
  HREF="node30.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="/usr/share/latex2html/icons/next.png"></A> 
<A NAME="tex2html701"
  HREF="node13.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="/usr/share/latex2html/icons/up.png"></A> 
<A NAME="tex2html695"
  HREF="node28.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="/usr/share/latex2html/icons/prev.png"></A>   
<BR>
<B> Next:</B> <A NAME="tex2html704"
  HREF="node30.html">...Switch to Plot a</A>
<B> Up:</B> <A NAME="tex2html702"
  HREF="node13.html">How To...</A>
<B> Previous:</B> <A NAME="tex2html696"
  HREF="node28.html">...Write a Modified WCS</A>
<BR>
<BR></DIV>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION000316000000000000000"></A><A NAME="ss:howtoplotgrid"></A>
<BR>
...Display a Graphical Coordinate Grid
</H2>

<P>
A common requirement when displaying image data is to plot an
   associated coordinate grid (<SPAN  CLASS="textit">e.g.</SPAN> Figure&nbsp;<A HREF="#fig:overgrid">9</A>)
   over the displayed image.
   
<DIV ALIGN="CENTER"><A NAME="fig:overgrid"></A><A NAME="602"></A>
<TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 9:</STRONG>
An example of a displayed image with a coordinate grid
   plotted over it.</CAPTION>
<TR><TD>
<DIV ALIGN="CENTER">
[width=0.7]sun211_figures/overgrid_bw
   
</DIV></TD></TR>
</TABLE>
</DIV>

<P>
The use of AST in such circumstances is independent of the underlying
graphics system, so starting up the graphics system, setting up a
coordinate system, displaying the image, and closing down afterwards
can all be done using the graphics functions you would normally use.

<P>
However, displaying an image at a precise location can be a little
fiddly with some graphics systems, and obviously the grid drawn by AST
will not be accurately registered with the image unless this is done
correctly. In the following template, we therefore illustrate both
steps, basing the image display on the C interface to the PGPLOT
graphics package.<A NAME="tex2html21"
  HREF="footnode.html#foot22050"><SUP><IMG  ALIGN="BOTTOM" BORDER="1" ALT="[*]"
 SRC="/usr/share/latex2html/icons/footnote.png"></SUP></A>Plotting a coordinate grid with AST then becomes a relatively minor
part of what is almost a complete graphics program.

<P>
Once again, we assume that a pointer, ``wcsinfo'', to a suitable
FrameSetFrameSet associated with the image has already been obtained
(&#167;<A HREF="node17.html#ss:howtoreadwcs">3.4</A>).

<P>
<SMALL CLASS="SMALL">
<BR>
<IMG
 WIDTH="585" HEIGHT="1655" ALIGN="BOTTOM" BORDER="0"
 SRC="img28.png"
 ALT="\begin{terminalv}
...">
<BR>
</SMALL>
<P>
Note that once you have set up a PlotPlot which is aligned with a
displayed image, you may also use it to generate further graphical
output of your own, specified in the image's world coordinate system
(such as markers to represent astronomical objects, annotation,
<SPAN  CLASS="textit">etc.</SPAN>). There is also a range of Plot attributes which gives
control over most aspects of the output's appearance.  For details of
the facilities available, see &#167;<A HREF="node194.html#ss:plots">21</A> and the description of
the Plot class in Appendix&nbsp;<A HREF="node217.html#ss:classdescriptions">D</A>.

<P>
For details of how to build a graphics program which uses PGPLOT, see
&#167;<A HREF="node16.html#ss:howtobuild">3.3</A> and the description of the ast_linkast_link command in
Appendix&nbsp;<A HREF="node218.html#ss:commanddescriptions">E</A>.

<P>

<DIV CLASS="navigation"><HR>
<!--Navigation Panel-->
<A NAME="tex2html703"
  HREF="node30.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="/usr/share/latex2html/icons/next.png"></A> 
<A NAME="tex2html701"
  HREF="node13.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="/usr/share/latex2html/icons/up.png"></A> 
<A NAME="tex2html695"
  HREF="node28.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="/usr/share/latex2html/icons/prev.png"></A>   
<BR>
<B> Next:</B> <A NAME="tex2html704"
  HREF="node30.html">...Switch to Plot a</A>
<B> Up:</B> <A NAME="tex2html702"
  HREF="node13.html">How To...</A>
<B> Previous:</B> <A NAME="tex2html696"
  HREF="node28.html">...Write a Modified WCS</A></DIV>
<!--End of Navigation Panel-->

</BODY>
</HTML>