I tried and it looks like there were some invalid commands inside the pdf generated but I forget all pdf spec.
Ср, 27 мар 2013, June Kim (김창준) писал(а): > Hi > > Following is the code for drawing a graph. It shows as I expected. Yet, the > saved pdf file is missing several elements. The penstyle is gone and all > the red plots are gone. After a couple of experimentation, it seems like > penstyle other than 0 is error-prone in pdf. The plots are gone when the > penstyle is other than 0. > > contv=. ".;._2 (0 : 0) > 24 26 > 31 29 > 26 27 > 26 25 > 23 29 > 28 31 > 24 23 > 17 24 > 21 26 > 24 26 > ) > > expv=. ".;._2 (0 : 0) > 25 27 > 20 28 > 28 27 > 23 31 > 20 27 > 26 28 > 21 30 > 18 29 > 25 30 > 22 26 > 23 30 > ) > > JITSCALE=.2 > contv_jit=. contv+JITSCALE%~? ($contv)$0 > expv_jit=. expv+JITSCALE%~? ($expv)$0 > contvavg=.(+/%#) contv > expavg=. (+/%#) expv > > pd 'reset' > pd 'key "control group" "experimental group"' > pd 'keycolor blue, red' > pd 'keypos rb' > pd 'keystyle for' > pd 'color blue' > pd 'penstyle 0' > pd"1 contv_jit > pd 'pensize 3' > pd contvavg > pd 'color red' > pd 'penstyle 3' > pd 'pensize 1' > pd"1 expv_jit > pd 'pensize 3' > pd expavg > pd 'xlabel pretest posttest' > pd 'pdf control_experiment1.pdf' > pd 'show' > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
