Welcome to iraf.net Saturday, May 11 2024 @ 11:54 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 about eps
   
bai
 05/25/2007 03:58AM (Read 4727 times)  
+----
Newbie

Status: offline


Registered: 05/24/2007
Posts: 12
Hi,
When i save .fit to eps, i use the following:
:.snap eps
But x-label is too small.
How do i change the size of labels in .eps files?
Thanks

 
Profile Email
 Quote
fitz
 05/25/2007 03:58AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Bai,To change the text size you need to modify the graphcap entry for the device, specifically the :cw (char width) and :ch (char height) fields. These are expressed in terms of normalized device coords and default to values of 0.0125 and 0.0294 respecitively. To make the bigger, it's simplest to just tweak these values by putting an entry in the dev$graphcap file such as[code:1:007722caa2]
myeps| :cw#.025:ch#.0496:tc=uepsf:
[/code:1:007722caa2]You would then need to snap to ":.snap myeps" and tweak the values as needed. Be sure to do a "gflush" or ":.gflush" whenever you change the graphcap file. Hope this helps.Cheers,
-MikeP.S. If you'd had these questions last week I could have solved them in person, I just got back from Beijing on Monday 8-)

 
Profile Email
 Quote
bai
 05/25/2007 03:58AM  
+----
Newbie

Status: offline


Registered: 05/24/2007
Posts: 12
Thanks, Mike
If you need, i could be your guide, when you come to BJ next time.
Big Grin

 
Profile Email
 Quote
kkwitter
 05/25/2007 03:58AM  
+++--
Chatty

Status: offline


Registered: 01/19/2006
Posts: 42
Hi,When I do :.snap eps, the size of the labels is fine, but the very left edge of the image containining the first digit of the flux values is off the page. Is there a command that can give some blank space to pad the left edge?Thanks!

 
Profile Email Website
 Quote
fitz
 05/25/2007 03:58AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Hi Karen,The plot position and size are controlled by parameters in the graphcap entry for the device. By default, the 'eps' entry uses an X-offset of 55, however using the 'epsl' entry to put it in landscape mode uses a value of 100 and may just do the trick. If you have STSDAS installed you can also use the PostScript kernel in there, i.e. the 'psidump' (landscape) or 'psidumpp' (portrait) devices to create a /tmp/psidmpXXXX.ps file; these also have a different offset.Otherwise, you would need to create a custom graphcap file and device entry to change the offsets. Command-wise, you can use the cursor command ":.txset size=0.5" to make the text size half as large but it may not be quite what you're after. Hope this helps.Cheers,
-Mike

 
Profile Email
 Quote
kkwitter
 05/25/2007 03:58AM  
+++--
Chatty

Status: offline


Registered: 01/19/2006
Posts: 42
Hi Mike,Yep, epsl does the trick. Thanks so much!
Karen

 
Profile Email Website
 Quote
   
Content generated in: 0.18 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login