Welcome to iraf.net Saturday, May 11 2024 @ 10:46 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 Annotating plots using gcur
   
weistrop
 06/27/2011 07:13PM (Read 1789 times)  
+----
Newbie

Status: offline


Registered: 04/06/2007
Posts: 7
I'm trying to label plots generated by sgraph, in particular the vertical axis. Using =gcur I've been trying to set the up and path parameters in txset so that the vertical axis label reads from low to high with the letters 'lying on their backs', as it were, i.e. the way graphs are usually labelled in journals. Can't seem to find the correct combination of the up and path parameters. I can't just use the sgraph axis labels because I am mixing Greek and Roman characters.Any thoughts on how to do this?ThanksPS By brute force I found an answer to the above question, but when I run the :.snap eps and look at the eps file, I get spaces between the roman and greek fonts, e.g.Ha (alpha) looks like H a (where last a is a greek alpha). Is there a way to get rid of the spaces?Thanks

 
Profile Email
 Quote
fitz
 06/27/2011 07:13PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
I' glad you figured it out. BTW, for graphics text that has the up/path changed like this, note that you'll also need to do ":.txqual hi" to reset the text quality so that it is rendered with the changed on the terminal, otherwise you might only see the changes in the hardcopy. For some devices, you'll also need to do this before creating the text so the metacode is written properly.As for the space in the H-alpha: The spacing and size of the greek fonts is hard-coded in the stroke tables used to write the characters. You could use separate 'T' cursor commands to create the 'H' and the 'alpha' separately. Another idea might be to use a task like IGI to append the plot with the annotation, it also has ways to create greek chars and rotated text and could be used instead of the cursor mode. Hope this helps.

 
Profile Email
 Quote
   
Content generated in: 0.07 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