Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
sun symbol
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
bing999  
View profile  
 More options Jun 22 2012, 1:05 am
Newsgroups: comp.lang.idl-pvwave
From: bing999 <thibaultga...@gmail.com>
Date: Thu, 21 Jun 2012 22:05:28 -0700 (PDT)
Local: Fri, Jun 22 2012 1:05 am
Subject: sun symbol
Hi,

I was wondering if the "sun symbol" issue could have been solved by
anyone.
It's been a while that I try to make it work using hardware font for
postscript device (e.g. D. Fanning's ps_start, font=0). The solutions
for this kind of font available on google (e.g. ps_frag.pro, changing
the unicode in /itt/resources/fonts/, etc) are notvery satisfactory
because not quite user-friendly...

So, if a good solution has been found, please let me know! ;)

Cheers,
Bing


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Galloy  
View profile  
 More options Jun 22 2012, 11:17 am
Newsgroups: comp.lang.idl-pvwave
From: Michael Galloy <mgal...@gmail.com>
Date: Fri, 22 Jun 2012 09:17:36 -0600
Local: Fri, Jun 22 2012 11:17 am
Subject: Re: sun symbol
On 6/21/12 11:05 PM, bing999 wrote:

> I was wondering if the "sun symbol" issue could have been solved by
> anyone.
> It's been a while that I try to make it work using hardware font for
> postscript device (e.g. D. Fanning's ps_start, font=0). The solutions
> for this kind of font available on google (e.g. ps_frag.pro, changing
> the unicode in /itt/resources/fonts/, etc) are notvery satisfactory
> because not quite user-friendly...

> So, if a good solution has been found, please let me know! ;)

Possibly not helping you, but just noting that the sun symbol, planet
symbols, and various other symbols were added in IDL 8.2.

I know there are routines people have used, but I'll let people more
familiar with them tell you about their favorite.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL, A Guide to Learning IDL: http://modernidl.idldev.com
Research Mathematician
Tech-X Corporation


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bing999  
View profile  
 More options Jun 23 2012, 1:53 am
Newsgroups: comp.lang.idl-pvwave
From: bing999 <thibaultga...@gmail.com>
Date: Fri, 22 Jun 2012 22:53:27 -0700 (PDT)
Local: Sat, Jun 23 2012 1:53 am
Subject: Re: sun symbol
OK, thanks Mike. I am still on v7.1 though...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Galloy  
View profile  
 More options Jun 25 2012, 12:43 pm
Newsgroups: comp.lang.idl-pvwave
From: Michael Galloy <mgal...@gmail.com>
Date: Mon, 25 Jun 2012 10:43:57 -0600
Local: Mon, Jun 25 2012 12:43 pm
Subject: Re: sun symbol
On 6/22/12 11:53 PM, bing999 wrote:

> OK, thanks Mike. I am still on v7.1 though...

I thought more astronomer's would chime in, but the routine I know about
is SUNSYMBOL

   http://idlastro.gsfc.nasa.gov/ftp/pro/plot/sunsymbol.pro

available from the IDL Astronomy User's Library
(idlastro.gsfc.nasa.gov). You might want to just get there entire library.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wlandsman  
View profile  
 More options Jun 25 2012, 1:16 pm
Newsgroups: comp.lang.idl-pvwave
From: wlandsman <wlands...@gmail.com>
Date: Mon, 25 Jun 2012 10:16:04 -0700 (PDT)
Local: Mon, Jun 25 2012 1:16 pm
Subject: Re: sun symbol

On Monday, June 25, 2012 12:43:57 PM UTC-4, Mike Galloy wrote:

> I thought more astronomer's would chime in, but the routine I know about
> is SUNSYMBOL

>    http://idlastro.gsfc.nasa.gov/ftp/pro/plot/sunsymbol.pro

> available from the IDL Astronomy User's Library

This program uses a kluge in which the center dot is actually slightly off-center.  I think the OP was asking about publication quality plots using psfrag.   I was actually waiting for you to chime in with

 http://michaelgalloy.com/wp-content/uploads/2011/01/vis_psfrag.pro

although this is not yet a drop-in solution.

--Wayne


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Galloy  
View profile  
 More options Jun 25 2012, 1:34 pm
Newsgroups: comp.lang.idl-pvwave
From: Michael Galloy <mgal...@gmail.com>
Date: Mon, 25 Jun 2012 11:34:43 -0600
Local: Mon, Jun 25 2012 1:34 pm
Subject: Re: sun symbol
On 6/25/12 11:16 AM, wlandsman wrote:

> On Monday, June 25, 2012 12:43:57 PM UTC-4, Mike Galloy wrote:

>> I thought more astronomer's would chime in, but the routine I know about
>> is SUNSYMBOL

>>     http://idlastro.gsfc.nasa.gov/ftp/pro/plot/sunsymbol.pro

>> available from the IDL Astronomy User's Library

> This program uses a kluge in which the center dot is actually slightly off-center.  I think the OP was asking about publication quality plots using psfrag.   I was actually waiting for you to chime in with

>   http://michaelgalloy.com/wp-content/uploads/2011/01/vis_psfrag.pro

> although this is not yet a drop-in solution.

Well, if SUNSYMBOL is a kludge, I would not want to know the word used
about VIS_PSFRAG. SUNSYMBOL is definitely more user-friendly, though it
might not produce perfect publication quality output.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bing999  
View profile  
 More options Jun 26 2012, 3:43 am
Newsgroups: comp.lang.idl-pvwave
From: bing999 <thibaultga...@gmail.com>
Date: Tue, 26 Jun 2012 00:43:23 -0700 (PDT)
Local: Tues, Jun 26 2012 3:43 am
Subject: Re: sun symbol
Hi,

Actually, sunsymbol.pro has off-center sun symbol as you say, and
vis_psfrag.pro is not very easy to handle (especially because it
replaces the full string by the sun symbol as far as I understand...).

So, no sun symbol solution yet for postscript fonts in IDL7.1...
Thanks though.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fab  
View profile  
 More options Jun 26 2012, 4:38 am
Newsgroups: comp.lang.idl-pvwave
From: Fab <fabien.mauss...@gmail.com>
Date: Tue, 26 Jun 2012 10:38:42 +0200
Local: Tues, Jun 26 2012 4:38 am
Subject: Re: sun symbol
 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Manodeep Sinha  
View profile  
 More options Jun 27 2012, 9:15 pm
Newsgroups: comp.lang.idl-pvwave
From: Manodeep Sinha <manod...@gmail.com>
Date: Wed, 27 Jun 2012 18:15:01 -0700 (PDT)
Local: Wed, Jun 27 2012 9:15 pm
Subject: Re: sun symbol
On Jun 26, 3:38 am, Fab <fabien.mauss...@gmail.com> wrote:

Here is what I do with reasonably good results (i.e., not an off-
center dot). I adapted Michael Galloy's vis_psfrag for this. The basic
steps are:

1. Generate your plot in PS with the /TIMES switch and !P.FONT=0
2. Run ms_psfrag with this syntax:

ms_psfrag,input_ps_filename,latex_template_filename,output_ps_filename,"act ual
text in the ps","replacement latex text"

You will have to download ms_psfrag.pro (here:
http://astro.phy.vanderbilt.edu/~sinham/code/ms_psfrag.pro). Also, you
have to create a Latex template file -- the contents for the latex
template are in the comments on the top of ms_psfrag.pro.

I still haven't figured out how to sent the font size correctly so you
will have to play around with this line in the latex template:

\psfrag{tag_text}[c][c][1.5]{replacement_text} ,

where 1.5 represents the font size scaling. You will have to change
that 1.5 value such that the replacement font size is similar to other
font sizes in the plot.

For the solar mass symbol, the latex replacement text would be '$M_
\odot$'. A code snippet could be:

-----------------------
set_plot,'ps'
!p.font=0
fname = 'plot.eps'
templatefname = 'figure.tex' ;;;; you will have to create this latex
template file as figure.tex
device,filename=fname,/color,/portrait,bits_per_pixel=8,/encapsulated,/
times
xtitle = 'ZM'

plot,findgen(10),xtitle=xtitle

device,/close
outfname = fname
ms_psfrag,fname,templatefname,outfname,xtitle,'Mass [M$_\odot$]'
-----------------------

Hope this helps.

Cheers,
Manodeep


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »