[daip] [!4182]: aips - Figure Questions in AIPS

John Michael Cannon do-not-reply at nrao.edu
Thu Dec 19 09:25:27 EST 2013


John Michael Cannon updated #4182
---------------------------------

Figure Questions in AIPS
------------------------

           Ticket ID: 4182
                 URL: https://help.nrao.edu/staff/index.php?/Tickets/Ticket/View/4182
           Full Name: John Michael Cannon
               Email: jcannon at macalester.edu
             Creator: User
          Department: AIPS Data Processing
       Staff (Owner): -- Unassigned --
                Type: Issue
              Status: Open
            Priority: Default
                 SLA: ALMA E2E
      Template Group: Default
             Created: 19 December 2013 02:25 PM
             Updated: 19 December 2013 02:25 PM
                 Due: 23 December 2013 02:25 PM (4d 0h 0m)
      Resolution Due: 30 December 2013 02:25 PM (11d 0h 0m)



Hello,

I am using AIPS to create some color figures, and have a few questions.  

1.  Is there a way to get GREYS to create a color image with ofmfile='rainbow' and have the background be white (instead of black)?  Specifically, I use the following inputs to create the middle panel of the attached figure.

	task 'greys'; default; 
	getn 2; get2n 2; get3n 2; get4n 2;
	docolor 0; doalign -2;
	docont 1; 
	blc 920 930; trc 1320 1330;
	clev 1000; levs 762 764 766 768 770 772
	dowedge -1; cbplot 0; 
	pixrange 761000 774800;
	functype 'ln';
	ofmfile 'rainbow'
	ltype 7; dotv -1; dowedge -1;
	darkline 0.99
	go; wait greys

	task 'lwpla'; default;
	getn 2; plver 0; invers 0; aspmm 0; lpen 5; 
	rgbgamma 0; functype 'LN'; dparm 0 0 0 0 1; copies 1; 
	dodark 1; ofmfile ''; docolor 1;
	plcolors(1,1)~ 0 0 0;
	plcolors(1,2)~ 1 1 1;
	plcolors(1,10)~ 1 1 1; 
	outfile 'vladata:AGC208399.M1.ps'; go

Normal greyscale plots (i.e., with ofmfile='') work fine; see the left-hand panel of the attached image.

2.  Is there a way to get KNRT to present an image in reverse greyscale?  I would like to show an image with the lower value of pixrange set to white, and the upper value set to black.  The execution of the following commands produce an image with the inverse color stretch that I would like; this is shown in the right-hand panel of the attached image:

	task 'kntr'; default; dovect -1;
	docont 2; dogrey 1;
	getn 3; get2n 2; clr3na; clr4na;
	blc 920 930; trc 1320 1320
	clev 1000; levs 762 764 766 768 770 772
	rainlevs;
	dowedge -1; cbplot 0; 
	pixrange 0 0.2; 
	ofmfile '';
	functype 'ln'; 
	ltype -7; dotv -1; dowedge -1;
	go; 

	task 'lwpla'; default;
	getn 3; plver 0; invers 0; aspmm 0; lpen 5; 
	rgbgamma 0; functype 'LN'; dparm 0 0 0 0 1; copies 1; 
	dodark 0; ofmfile ''; docolor 1;
	plcolors(1,1)~ 0 0 0;
	plcolors(1,2)~ 1 1 1;
	plcolors(1,10)~ 1 1 1; 
	outfile 'vladata:AGC208399.R-M1.ps'; go

Many thanks,
John


------------------------------------------------------
Staff CP:  https://help.nrao.edu/staff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: figures.png
Type: image/png
Size: 851485 bytes
Desc: not available
URL: <http://listmgr.nrao.edu/pipermail/daip/attachments/20131219/1e4a6f87/attachment.png>


More information about the Daip mailing list