bai |
05/25/2007 03:58AM (Read 4727 times)
|
|
|
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
|
|
|
|
fitz |
05/25/2007 03:58AM
|
|
|
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-)
|
|
|
|
bai |
05/25/2007 03:58AM
|
|
|
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.
|
|
|
|
kkwitter |
05/25/2007 03:58AM
|
|
|
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!
|
|
|
|
fitz |
05/25/2007 03:58AM
|
|
|
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
|
|
|
|
kkwitter |
05/25/2007 03:58AM
|
|
|
Status: offline
Registered: 01/19/2006
Posts: 42
|
Hi Mike,Yep, epsl does the trick. Thanks so much!
Karen
|
|
|
|