sas >> special characters in gplot

by stefan.pohl » Tue, 18 Apr 2006 20:40:11 GMT

Hi,

how to get in gplot special characters like =B0, =E4,=FC,...?

Thanks for help,

Stefan.


sas >> special characters in gplot

by ghellrieg » Tue, 18 Apr 2006 21:12:10 GMT


Hi Stepan,
you have to assign a keymap and a appropriate font which has the german
chars. Look at the following example:

goptions fontres=presentation keymap=sas8859;
title f=swiss ";
proc gslide;
run;
quit;




On Tue, 18 Apr 2006 14:40:11 +0200, Stefan Pohl

>>Hi, >> >>how to get in gplot special characters like ..>? >>
>Thanks for hel>, >>
>Stefan.



sas >> special characters in gplot

by ghellrieg » Tue, 18 Apr 2006 21:22:16 GMT

By the way:

you find the DEVMAP entries corresponding to the KEYMAP-option in SASHELP.FONTS.

You can also try:

goptions fontres=presentation keymap=iso8859;
title f=swissb ";

swissb is "bold". Sometimes better for big headers...



On Tue, 18 Apr 2006 09:12:10 -0400, Gerhard Hellriegel

>>Hi Stepan, >>you have to assign a keymap and a appropriate font which has the german >>chars. Look at the following example: >> >>goptions fontres=presentation keymap=sas8859;
>>>
>>Thanks for he>>, >>>
>>Stefan.


special characters in gplot

by ghellrieg » Tue, 18 Apr 2006 21:33:11 GMT

By the way:

you find the DEVMAP entries corresponding to the KEYMAP-option in SASHELP.FONTS.

You can also try:

goptions fontres=presentation keymap=iso8859;
title f=swissb ";

swissb is "bold". Sometimes better for big headers...

some other fonts with

brush
centb
centbe
centx
centxe
complex
...

not working for example: cgreek - you see nothing

all that fonts you find also in the SASHELP.FONTS - catalog

For both, fonts and keymaps you can also create your own or copy them to
your catalog and manipulate them.
Look in the documentation for proc gkeymap and proc gfont for explanation.







> >Hi Stepan,> >you have to assign a keymap and a appropriate font which has the german> >chars. Look at the following example:> >> >goptions fontres=presentation keymap=sas8859;> >title f=swiss ">
>proc gslide>
>run>
>quit>
>On Tue, 18 Apr 2006 14:40:11 +0200, Stefan Poh>< >< XXXX@XXXXX.COM >DE> wrote>
>> >>Hi>> >>> >>how to get in gplot special characters like >>.?>>>>
>>Thanks for h>>p,>>>>
>>Stefan.


special characters in gplot

by jonas.bilenas » Tue, 18 Apr 2006 22:03:06 GMT

You can also try:

symbol1 value=' font=courier i=none;

proc gplot data=temp;
plot y*x;
run;quit;


On Tue, 18 Apr 2006 14:40:11 +0200, Stefan Pohl<< XXXX@XXXXX.COM

>>Hi, >> >>how to get in gplot special characters like ..>? >>
>Thanks for hel>, >>
>Stefan.


special characters in gplot

by tanwan » Tue, 18 Apr 2006 22:14:21 GMT

Stefan,

I did not see the special characters you want because they can not be
displayed properly in a post that is 100 text, but if you scroll toward
the bottom of
http://support.sas.com/91doc/getDoc/graphref.hlp/symbolchap.htm you
will see the special symbols for plotting Data Points. I do not know if
the symbol you want is included there, or if you can display other
symbols apart from those displayed in that graphic.

Good Luck.

Tanwan



special characters in gplot

by ghellrieg » Tue, 18 Apr 2006 23:04:20 GMT

If that is really the goal to use instead of dots in the plot, ok,
but not with the font=courir. Use a SAS grapf-font in that case, something
like, swiss, brush, centb, complex, ...
If you want it for titles, footnotes, labels, ... better use the keymap goption.
By the way: if you want to get it as gif / html files via ODS to display it
in a browser, be careful what you do: there is a option in html-ODS to
include titles /footnotes in the GIF, or to extract it from the GIF to put
it in the HTML code.
If you have it in HTML code, you might use ü instead of



On Tue, 18 Apr 2006 10:03:06 -0400, Jonas Bil<nas
wrote>

>You can also t>y:> >
> symbol1 value=' font=courier i=n>ne>
>
> proc gplot data=t>mp;
> plot >*x;
> run;q>it>
>
>On Tue, 18 Apr 2006 14:40:11 +0200, Stefan<Pohl >KO>LN.DE> wr>te>> >
>>>i,>>>>
>>how to get in gplot special characters like gt;>,.>>?
>>
>>Thanks fo>>he>>,
>>
>>Stefan.


special characters in gplot

by hardik617 » Wed, 19 Apr 2006 02:35:36 GMT

Hey guys!!
I am learning SAS and i would appreicate if some can send me any detailed
realtime project that they might have done in their university or might hav=
e
done during their work which could be useful to me to start getting handson
the SAS programming skills. I want a realtime project on Clinical SAS. I
would really appreciated if some can send that.

regards
Hardik






Similar Threads

1. gplot legend device type special characters question

Hi all,
i am trying to put the special characters alpha and beta in the legend of
my equation.....but it is coming as a blank and the sas log states that

NOTE: A hardware font was specified that is not available on the device
WIN. If the font is available on the hardcopy device, it will be utilized
      if/when the previewed graph is printed.

i am using windows sas 8.2......
could someone point me in the right way....have copied my whole gplot code
below...
thanks
hari.....

******special characters for equation;
data _null_ ;
 s1 = byte(222) ;
 s2 = byte(223) ;
    call symput('alpa',s1);
    call symput('beta',s2);
put s1=  s2= ;
run ;


goptions reset=global gunit=pct border cback=white
         ftitle=swissb ftext=swiss htitle=4 htext=2 gsfmode=replace ;

symbol1 c=black v=dot w=4 I=none L=4 height=2;

symbol2 c=black w=4 i=r height=2;

axis1 order=(0 to 0.006 by 0.0015) offset=(2,2)
      label=("xxx")
      major=(height=3) minor=none
      width=3;

axis2 order=(2 to 6.5 by 0.5) offset=(0,0)
      label=("yyy")
      major=(height=2) minor=none
      width=3;

legend1 label=(H=0.15 in "Ln y = &alpa. + &beta.*ln(x)" POSITION=(bottom
right))
        position=(bottom right inside)
 offset=(1 , 5)
        mode=share;

%inc gtitles;

proc gplot data=stat gout= &mrlstref ;
   plot y*x y1*x / overlay
                             haxis=axis1 hminor=4 legend=legend1
                             vaxis=axis2 vminor=1 noframe;
run;
quit;

2. gplot: Symbols disappear if special order in legend

3. Importing Excel file with special characters

SAS-L gurus,

I'm using the Import Wizard (v9) to import some Excel files. One of the fields contains the % (drug strengths) character and SAS is not importing that field and does not give me an error.

How do I get SAS to import this field directly?

Thanks in advance,

Joanne Mor

4. Compress out special characters

5. display special characters/symbols

Hi all.

Just wondering if anyone please teach me what are the SAS statements
to allow SAS to output special characters/symbols such as ,  etc..

Thanks a lot.

Have a great day.

6. Remove special characters from SAS dataset

7. Filevar And Name With Embedded Spaces Or Special Characters

SAS-Pros:

Sometimes I forget just how great a tool SAS is and how extraordinary
the SAS-L list is --  you guys answer questions before they are asked !
I also apologize for the length of this note !

I have to read through a directory structure and interrogate files with
a particular file extension. Recent notes from Jack and Harry provided a
quick and easy way to traverse the directory structures:

Filename FILELIST Pipe "dir C:\ /S /B /O-D";

Data _NULL_ ;
  Length CHECK $ 3 ;
  Infile FILELIST Lrecl=256 Truncover ;
  File 'C:\Files.TXT' ;
  Input ;
  CHECK = Reverse(Substr(Reverse(Trim(_INFILE_)), 1, 3)) ;
  If (Upcase(CHECK) = 'MBX') Then
     Put @1 _INFILE_ ;
Run ;

The above code, using the PIPE, does exactly what I need; I'm only
interested in files with a ".mbx" extension. I then want to count the
number of new message headers per .MBX file. This code performs the task:

Data MESSAGES (Keep=DESC MSG_COUNT) ;
  Length FNAME DESC $ 50 ;
  Infile 'C:\Files.TXT' Lrecl=256 Truncover ;
  Input @1 FNAME $150. ;
  Infile DUMMY Filevar=FNAME Filename=DESC End=EOF ;
  * ACCT = Scan(DESC, 1, ' ') ;
  MSG_COUNT = 0 ;
  Do While (^EOF) ;
     Input @1 STR $Char6. ;
     If (STR = 'From: ') Then MSG_COUNT + 1 ;
        Else Continue ;
  End ;
  Output MESSAGES ;
Run ;
Proc PRINT Data=MESSAGES ;
Run ;

"Standardly" (if there is such a thing on Windows systems) named files,
like below, cause no problem:

C:\TestIMAP\LWitham\DynDNS.mbx
C:\TestIMAP\LWitham\Drafts.mbx
C:\TestIMAP\LWitham\Clarion.mbx
C:\TestIMAP\LWitham\PaceIRC\Resource25.mbx
C:\TestIMAP\LWitham\Trash\attached.mbx

The  problem occurs with filenames that contain embedded spaces or
"special characters" (like "&" and "-" in the first record below):

C:\TestIMAP\lsippel\FA  Exec Staff\FA Safety &- Security.mbx
C:\TestIMAP\lsippel\FA  Exec Staff\FA outmail NACUBO.mbx
C:\TestIMAP\lsippel\FA  Exec Staff\FA NACUBO Conferences Correspondence.mbx
C:\TestIMAP\lsippel\FA  Exec Staff\FA New Systems.mbx
C:\TestIMAP\lsippel\FA  Exec Staff\FA listserve junk mail.mbx
C:\TestIMAP\lsippel\FA  Exec Staff\FA Misc.mbx
C:\TestIMAP\lsippel\FA  Exec Staff\FA Faxes.mbx
C:\TestIMAP\lsippel\FA  Exec Staff\FA Facilities Management.mbx

The program chokes on these filenames. My question is, is there a way,
using FILEVAR to process multiple files, to get around this issue. I'm
using FILEVAR because I have to have the counts by filename, using
another pipe would read the files as one continuous stream, I believe.

Can the spaces and characters be escaped in some way to make FILEVAR
(and me) happy  ?  We have  SAS v8 on this  particular  server, but  do
have  v9 on workstations and test servers . This app will be run on a
Windows 2000 server.

Any and all help will be much appreciated. Thank you.

-Gerry

Gerard T. Pauline
Mgr, Internet Applications &
University WebMaster
Computer Systems, DoIT
Pace University

8. Reading special Characters