|
From: Paulo J. M. <poc...@gm...> - 2006-04-24 17:50:08
|
Hi all, I'm trying to plot some points in a cartesian plane. The points are in a file and I have the following: set terminal x11 # Set terminal (output type) set logscale xy # Set logscale on xy set border 3 # Remove right and top borders set xlabel "X" set ylabel "Y" set size square set style data points unset label unset y2tics unset my2tics unset x2tics unset mx2tics plot [0.01:3600] [0.01:3600] 'data.dat' using 2:1, x 1. Although I have a logscale plot I would like it to show 0,0 as original instead of 0.01, 0.01. Can I do this? 2. I have removed right and top borders but still there are some wierd tics that are still there. Even after those unset tics (which don't seem to affect the tics at all). How can I remove them? 3. There are two labels, one for the points and other for the x function which I would like to remove, how can I do that? 4. What's the best to include in latex? latex terminal or epslatex terminal= ? Thanks in advance, -- Paulo Jorge Matos - pocm at sat inesc-id pt Web: http://sat.inesc-id.pt/~pocm Computer and Software Engineering INESC-ID - SAT Group |
|
From:
<br...@ph...> - 2006-04-24 23:35:00
|
Paulo J. Matos wrote: > 1. Although I have a logscale plot I would like it to show 0,0 as > original instead of 0.01, 0.01. Can I do this? Not automatically --- nor should you want to. Why do you want to lie to the reader of your plot? > 2. I have removed right and top borders but still there are some wierd > tics that are still there. Even after those unset tics (which don't > seem to affect the tics at all). How can I remove them? Those are not the x2 and y2 tics, which you did remove. They're the mirrored x and y tics: set xtics nomirror set ytics nomirror > 3. There are two labels, one for the points and other for the x > function which I would like to remove, how can I do that? Read "help plot" about the "title" option. > 4. What's the best to include in latex? latex terminal or epslatex terminal? Almost always epslatex. "latex" is a fall-back for special or desparate cases. |
|
From: Paulo J. M. <poc...@gm...> - 2006-04-25 14:39:16
|
On 25/04/06, Hans-Bernhard Br=F6ker <br...@ph...> wrote: > Paulo J. Matos wrote: > > > 1. Although I have a logscale plot I would like it to show 0,0 as > > original instead of 0.01, 0.01. Can I do this? > > Not automatically --- nor should you want to. Why do you want to lie to > the reader of your plot? > Not a lie... Just thought that a graph starting at 0,0 would look nicer. :) > > 2. I have removed right and top borders but still there are some wierd > > tics that are still there. Even after those unset tics (which don't > > seem to affect the tics at all). How can I remove them? > > Those are not the x2 and y2 tics, which you did remove. They're the > mirrored x and y tics: > > set xtics nomirror > set ytics nomirror > Thanks. > > 3. There are two labels, one for the points and other for the x > > function which I would like to remove, how can I do that? > > Read "help plot" about the "title" option. > notitle is nice! :) > > 4. What's the best to include in latex? latex terminal or epslatex term= inal? > > Almost always epslatex. "latex" is a fall-back for special or desparate > cases. > Thanks, yet, 2 questions: 1 - I don't have my figs in the same place as the latex files so when including I get a path problem in the generated tex file by gnuplot which assumes the eps are in the same path of the latex main files. Not a problem at all, I just manually change the generated tex but is there anyway of doing this from gnuplot? 2 - How can I change the Latex letters? generated by the tex file? I have: set terminal epslatex color solid "default" 8 But changing 8 from 10 doesn't seem to change the size at all. Is it this? Or is there any other way? Thanks, Paulo Matos > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job ea= sier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim= o > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > -- Paulo Jorge Matos - pocm at sat inesc-id pt Web: http://sat.inesc-id.pt/~pocm Computer and Software Engineering INESC-ID - SAT Group |
|
From:
<br...@ph...> - 2006-04-25 15:11:57
|
Paulo J. Matos wrote: > On 25/04/06, Hans-Bernhard Bröker <br...@ph...> wrote: >> Paulo J. Matos wrote: >>> 1. Although I have a logscale plot I would like it to show 0,0 as >>> original instead of 0.01, 0.01. Can I do this? >> Not automatically --- nor should you want to. Why do you want to lie to >> the reader of your plot? > Not a lie... Just thought that a graph starting at 0,0 would look nicer. :) It wouldn't look nice, it'd simply look *wrong*. Labelling that tick with "0" means you, the author of this diagram, claim that this is the zero is on this axis. But that's not the case, so this claim is quite definitely a lie. > 1 - I don't have my figs in the same place as the latex files so when > including I get a path problem in the generated tex file by gnuplot > which assumes the eps are in the same path of the latex main files. > Not a problem at all, I just manually change the generated tex but is > there anyway of doing this from gnuplot? No. But you don't have to: LaTeX has path search mechanisms to find files. Use them, and you won't have to edit generated TeX fragments. Or, if you really don't want to have two files, see the documentation of epslatex (or pslatex) on how to make it put the PostScript stuff directly into the TeX file. > 2 - How can I change the Latex letters? generated by the tex file? I have: > set terminal epslatex color solid "default" 8 > But changing 8 from 10 doesn't seem to change the size at all. IIRC, it's not supposed to. Font "default" means the figure will use whatever LaTeX's font is at the point of inclusion. I.e. you can change this in the master document, at the point where you include the file generated by gnuplot. You really have to read the documentation more. |
|
From: Paulo J. M. <poc...@gm...> - 2006-04-25 17:12:22
|
On 25/04/06, Hans-Bernhard Br=F6ker <br...@ph...> wrote: > Paulo J. Matos wrote: > > On 25/04/06, Hans-Bernhard Br=F6ker <br...@ph...> wro= te: > >> Paulo J. Matos wrote: > > >>> 1. Although I have a logscale plot I would like it to show 0,0 as > >>> original instead of 0.01, 0.01. Can I do this? > > >> Not automatically --- nor should you want to. Why do you want to lie = to > >> the reader of your plot? > > > Not a lie... Just thought that a graph starting at 0,0 would look nicer= . :) > > It wouldn't look nice, it'd simply look *wrong*. Labelling that tick > with "0" means you, the author of this diagram, claim that this is the > zero is on this axis. But that's not the case, so this claim is quite > definitely a lie. > > > 1 - I don't have my figs in the same place as the latex files so when > > including I get a path problem in the generated tex file by gnuplot > > which assumes the eps are in the same path of the latex main files. > > Not a problem at all, I just manually change the generated tex but is > > there anyway of doing this from gnuplot? > > No. But you don't have to: LaTeX has path search mechanisms to find > files. Use them, and you won't have to edit generated TeX fragments. > Or, if you really don't want to have two files, see the documentation of > epslatex (or pslatex) on how to make it put the PostScript stuff > directly into the TeX file. > > > 2 - How can I change the Latex letters? generated by the tex file? I ha= ve: > > set terminal epslatex color solid "default" 8 > > But changing 8 from 10 doesn't seem to change the size at all. > > IIRC, it's not supposed to. Font "default" means the figure will use > whatever LaTeX's font is at the point of inclusion. I.e. you can change > this in the master document, at the point where you include the file > generated by gnuplot. You really have to read the documentation more. > Thanks! :) I would love to really have more time to read the documentation carefully but right now I'm quite in a hurry. I appreciate your comments. > > -- Paulo Jorge Matos - pocm at sat inesc-id pt Web: http://sat.inesc-id.pt/~pocm Computer and Software Engineering INESC-ID - SAT Group |