* XPLOT_STATE.CMN
* COMMON describing the state of GKS
* 7/97 *sh* - increased max_viewport from 50 to 200
* 6/99 *sh* - include info about the time axis currently on the screen
* 1/00 *kob* - add win_id9 for animate window id -always nine
* 1/00 *acm* - include saved_calendar_id with the time axis info
* 1/00 *acm* - add saved_calendar_id with the time axis info
* 6/01 *acm* - add h_logaxis, v_logaxis
* 9/01 V540 *sh* - add vp_by_axis
* 5/06 v600 *acm*  Flag no_plot_yet: changes so user can change the number of 
*                  line colors.
* V6.2  *acm* 5/08 new qualifier FRAME/TRANSPARENT
* V68  *acm* 1/12  explicit REAL*4 declarations for double-precision ferret with
*		    single-precision pplus
* v697 *acm* 12/15 Ticket 2331, add flag changed_key to common, to restore the color key
*                  style after a color plot and also after SHADE/SET; SHADE.
* V7    *acm* 6/16 Ticket 2434: command qualifiers /DEGMINSEC= /HALFSPAC
*                  DEGMINSEC=1 for Deg-Min axis labels, =2 for Deg-Min-Sec. Default = 1
*                  /HALFSPAC adds a half space between the degree sign and E/W or N/S
* V73+ 1/18 *acm* Changes for Issue 1009; precsision in time info sent to pplus for 2D plots
*                 scaling for axis coords and box edges, saved_bb_date needed for polygons

	INTEGER		max_windows,
     .			max_viewport,
     .			mvp_dflt,
     .			win_id9
	REAL*4		wn_dflt_scale
	PARAMETER     ( max_windows = 9,
     .			max_viewport= 200,
     .			mvp_dflt = 0,
     .                  win_id9 =9,
     .			wn_dflt_scale = 0.83666 )	! SQRT(0.7)

	LOGICAL		wn_open,
     .			wn_active,
     .			vp_opaque,
     .			vp_by_axis,
     .			pplus_started,
     .			ppl_interrupted,
     .			has_time_axis,
     .			h_logaxis, 
     .			v_logaxis,
     .                  no_plot_yet,
     .                  changed_key

	INTEGER		vp_num,
     .			vp_seg0,
     .			vp_segn,
     .			curr_seg_name,
     .			saved_calendar_id,
     .			transparent,
     .			dms,
     .			lonlatspace

	REAL*4		wn_scale,
     .			vp_size ,
     .			vp_xorg ,
     .			vp_yorg ,
     .			vp_xclip,
     .			vp_yclip,
     .			xlowlef,
     .			ylowlef,
     .			saved_dt_min

	CHARACTER	vp_name*16, saved_t1_date*14, saved_bb_date*14, transparent_color*10

	COMMON / XPLOT_STATE /
     .			pplus_started,
     .			ppl_interrupted,
     .			curr_seg_name,
     .			saved_calendar_id,
     .			transparent,
     .			dms,
     .			lonlatspace,
     .
     .			wn_open	 ( max_windows ),
     .			wn_active( max_windows ),
     .			wn_scale ( max_windows ),
     .			xlowlef  ( max_windows ),
     .			ylowlef  ( max_windows ),
     .
     .			vp_num,
     .			vp_name ( mvp_dflt:max_viewport ),
     .			vp_size ( mvp_dflt:max_viewport ),
     .			vp_xorg ( mvp_dflt:max_viewport ),
     .			vp_yorg ( mvp_dflt:max_viewport ),
     .			vp_xclip( mvp_dflt:max_viewport ),
     .			vp_yclip( mvp_dflt:max_viewport ),
     .			vp_seg0 ( mvp_dflt:max_viewport ),
     .			vp_segn ( mvp_dflt:max_viewport ),
     .			vp_opaque(mvp_dflt:max_viewport ),
     .			vp_by_axis(mvp_dflt:max_viewport ),
     .
     .			has_time_axis,
     .			h_logaxis, 
     .			v_logaxis,
     .                  no_plot_yet,
     .                  changed_key,
     .			saved_dt_min,
     .			saved_t1_date,
     .			saved_bb_date,
     .			transparent_color
