Style
-
msrahman
- Posts: 53
- Joined: Wed Oct 31, 2012 2:32 pm
Style
I am trying to make the line in graphs a little thicker using a script (color line.txt). But I do not see any effects on thickness although the program runs well without any error message.
Any advice.
Sincerely,
Sajjadur Rahman
Any advice.
Sincerely,
Sajjadur Rahman
- Attachments
-
- Combined_One_U.xls
- (389.5 KiB) Downloaded 5160 times
-
- experiment.rpf
- (6.34 KiB) Downloaded 5027 times
-
- colorline.txt
- (429 Bytes) Downloaded 4937 times
-
TomDoan
- Posts: 7825
- Joined: Wed Nov 01, 2006 4:36 pm
Re: Style
Your program is using thicklines.txt (which changes the width of B&W lines), not colorline.txt. And your colorline.txt file is designed as a source file, not as a style file and it doesn't put the color codes (the RGB codings of the colors). This is more like what you would want:
and in the program you want
source colorline.txt
not GRPARM with IMPORT. Note, however, that you will probably find the 10 is way too thick.
grparm(define="LINE_COLOR_01=0,000000,10.0") grparm(define="LINE_COLOR_02=0,0000ff,10.0") grparm(define="LINE_COLOR_03=0,00ff00,10.0") grparm(define="LINE_COLOR_04=0,ff0000,10.0") grparm(define="LINE_COLOR_05=0,00ffff,10.0") grparm(define="LINE_COLOR_06=0,ff00ff,10.0") grparm(define="LINE_COLOR_07=0,ffff00,10.0") grparm(define="LINE_COLOR_08=0,808080,10.0") grparm(define="LINE_COLOR_09=0,804000,10.0") grparm(define="LINE_COLOR_10=0,804000,10.0")
and in the program you want
source colorline.txt
not GRPARM with IMPORT. Note, however, that you will probably find the 10 is way too thick.
-
msrahman
- Posts: 53
- Joined: Wed Oct 31, 2012 2:32 pm
Re: Style
Thanks for your help.
On another note, I am trying to insert marker (circles) on several colored impulse responses to show the significance (files attached). I successfully did it in the attached black and white pdf file. I added the following in the text file but it is not working.
grparm(define="SYMBOL_COLOR_01=0,FF0000,1")
Any help?
Sincerely,
Sajjadur.
On another note, I am trying to insert marker (circles) on several colored impulse responses to show the significance (files attached). I successfully did it in the attached black and white pdf file. I added the following in the text file but it is not working.
grparm(define="SYMBOL_COLOR_01=0,FF0000,1")
Any help?
Sincerely,
Sajjadur.
- Attachments
-
- colorline_exp.txt
- (486 Bytes) Downloaded 4450 times
-
- experiment_one.rpf
- (6.53 KiB) Downloaded 4404 times
-
- marker.pdf
- (70.56 KiB) Downloaded 4302 times
-
- Combined_One_U_Experiment.xls
- (391 KiB) Downloaded 4271 times
-
msrahman
- Posts: 53
- Joined: Wed Oct 31, 2012 2:32 pm
Re: Style
The PDF was done using RATS. I attached the files here.
Any advice how can I place marker on multiple colored lines (files attached before)?
Thanks.
Sincerely,
Sajjadur.
Any advice how can I place marker on multiple colored lines (files attached before)?
Thanks.
Sincerely,
Sajjadur.
- Attachments
-
- Fig_Groups.xls
- (32.5 KiB) Downloaded 3954 times
-
- Fig_1_a.xls
- (39.5 KiB) Downloaded 3726 times
-
- groups_portfolio_combined.rpf
- (2.84 KiB) Downloaded 3672 times
-
TomDoan
- Posts: 7825
- Joined: Wed Nov 01, 2006 4:36 pm
Re: Style
STYLE=DOTS actually uses the "fill" styles, not the symbol styles (since you have no choice but to use color or grayscale). If you switch your styles on the overlays to 1 and 2 from 5 and 5, the color will do what you want. To get the B&W correct, add
grparm(define="fill_bw_02=0,0.0")
to redefine the style 2 fill to also be full black.
grparm(define="fill_bw_02=0,0.0")
to redefine the style 2 fill to also be full black.
-
msrahman
- Posts: 53
- Joined: Wed Oct 31, 2012 2:32 pm
Re: Style
Thanks for your help again. One more thing. Is it possible to add any instruction in SPGRAPH to generate just one set of key instead of three set (as in the attached pdf file)?
Sincerely,
Sajjadur.
Sincerely,
Sajjadur.
- Attachments
-
- Exp_one.pdf
- (46.45 KiB) Downloaded 3389 times
-
msrahman
- Posts: 53
- Joined: Wed Oct 31, 2012 2:32 pm
Re: Style
Thanks again.
I replaced the yellow with teal (008080). The line is showing as teal but marker remains yellow as in the pdf files. Any thought?
source file:
grparm(define="LINE_COLOR_01=0,000000,2.0")
grparm(define="LINE_COLOR_02=0,0000ff,2.0")
grparm(define="LINE_COLOR_03=0,00ff00,2.0")
grparm(define="LINE_COLOR_04=0,ff0000,2.0")
grparm(define="LINE_COLOR_05=0,00ffff,2.0")
grparm(define="LINE_COLOR_06=0,ff00ff,2.0")
grparm(define="LINE_COLOR_07=0,008080,2.0")
grparm(define="LINE_COLOR_08=0,808080,2.0")
grparm(define="LINE_COLOR_09=0,ff8000,2.0")
grparm(define="LINE_COLOR_10=0,800000,2.0")
I replaced the yellow with teal (008080). The line is showing as teal but marker remains yellow as in the pdf files. Any thought?
source file:
grparm(define="LINE_COLOR_01=0,000000,2.0")
grparm(define="LINE_COLOR_02=0,0000ff,2.0")
grparm(define="LINE_COLOR_03=0,00ff00,2.0")
grparm(define="LINE_COLOR_04=0,ff0000,2.0")
grparm(define="LINE_COLOR_05=0,00ffff,2.0")
grparm(define="LINE_COLOR_06=0,ff00ff,2.0")
grparm(define="LINE_COLOR_07=0,008080,2.0")
grparm(define="LINE_COLOR_08=0,808080,2.0")
grparm(define="LINE_COLOR_09=0,ff8000,2.0")
grparm(define="LINE_COLOR_10=0,800000,2.0")
- Attachments
-
- Experiment.pdf
- (45.82 KiB) Downloaded 3225 times
-
- experiment_one.rpf
- (6.6 KiB) Downloaded 2754 times