labels..

labels..

Post by Agostino N » Mon, 10 Mar 2008 20:13:10


Hello i have a small problem wiht the labels
when i use both cntrparam and pm3d the labels get one on top of the
other..
is that possible to tell gnuplot not to print one of them
OR to arrange differently?
moreover, since i am looking for ps output i set:
set term postscript eps
set output "image.ps"
is there something else i should set?
thanks

--
"Noi fummo i gattopardi,i leoni.Chi ci sostituir saranno gli
sciacalli,le iene.E tutti quanti,gattopardi,leoni,sciacalli o
pecore,continueremo a crederci il sale della terra." GTdL
Agostino Nevermore
 
 
 

labels..

Post by SGFucy1CZX » Mon, 10 Mar 2008 23:21:52


Your wording is quite confusing. I guess what you mean by "labels" are
actually the legend entries. What you mean by "on top of the other"
remains completely unclear.


You might want to re-read "help contour" and follow the links,
particularly the one to "clabel".

 
 
 

labels..

Post by Agostino N » Mon, 10 Mar 2008 23:25:30

Il Sun, 09 Mar 2008 15:21:52 +0100, Hans-Bernhard Brker ha scritto:


yes exactly
legend entries overlaps each other..
i will try to study better the manual in order to find a solution


--
"Noi fummo i gattopardi,i leoni.Chi ci sostituir saranno gli
sciacalli,le iene.E tutti quanti,gattopardi,leoni,sciacalli o
pecore,continueremo a crederci il sale della terra." GTdL
Agostino Nevermore
 
 
 

labels..

Post by SGFucy1CZX » Tue, 11 Mar 2008 05:28:00


Your textual description of the problem is still too vague. Show an
actual (yet minimal) example so people can see for themselves.

Until then, I can only offer a hint as vague as your reports: you may be
abusing multiplot.
 
 
 

labels..

Post by Agostino N » Tue, 11 Mar 2008 23:46:12

Il Sun, 09 Mar 2008 21:28:00 +0100, Hans-Bernhard Brker ha scritto:

hello
what i did is this:

set cntrparam levels auto 20
set contour
set pm3d
unset surface
set term jpeg tiny size 1024,768
set output "test.jpg"
splot cos(x)*sin(y)


what i got is this:
http://www.yqcomputer.com/

as u see the legend are overlapping
and the image is still 640x480...and quite low quality..
what can i do?
--
"Noi fummo i gattopardi,i leoni.Chi ci sostituir saranno gli
sciacalli,le iene.E tutti quanti,gattopardi,leoni,sciacalli o
pecore,continueremo a crederci il sale della terra." GTdL
Agostino Nevermore
 
 
 

labels..

Post by SGFucy1CZX » Wed, 12 Mar 2008 07:31:51


Actually, since the above URL refuses to load, I can't see anything.


That indicates your commands didn't match the version of gnuplot you're
using. Double-check "help jpeg" for what your version actually
supports, or update to a newer gnuplot.

I tried your script with the release binary of gnuplot-4.2.2, and it
worked just fine. There's no overlap of legend entries to be seen.
Just a small collision between the colorbox and the legend.


Move the colorbox or the key (or both) elsewhere.
 
 
 

labels..

Post by Agostino N » Wed, 12 Mar 2008 08:05:23

Il Mon, 10 Mar 2008 23:31:51 +0100, Hans-Bernhard Brker ha scritto:


Hi and thanks
i upgraded to 4.2 (the latest available in ubuntu) and now seems it can
print 1024x768 images correctly (i had it stuck with 680 for a couple of
time, but i coudn't find why after closing and restarting it worked again)
I have a question about that, i need to put those graphs in a LyX
template, i am wondering which one is the best format i should use then..

i tried, it didn't look too nice..so i will just try to make it smaller!
Thanks


--
"Noi fummo i gattopardi,i leoni.Chi ci sostituir saranno gli
sciacalli,le iene.E tutti quanti,gattopardi,leoni,sciacalli o
pecore,continueremo a crederci il sale della terra." GTdL
Agostino Nevermore
 
 
 

labels..

Post by SGFucy1CZX » Wed, 12 Mar 2008 08:30:25


If memory serves, LyX is a *** frontend. So you should use what works
best for LaTeX. Usually that's vector graphics of the postscript
family. epslatex, pslatex or enhances postscript all work well.
Metapost or one of the TeX drivers (e.g. eepic) might also be worth
checking out.
 
 
 

labels..

Post by Agostino N » Wed, 12 Mar 2008 08:42:19

Il Tue, 11 Mar 2008 00:30:25 +0100, Hans-Bernhard Brker ha scritto:
Thanks Hans
with your help i have been able to make this!
http://www.yqcomputer.com/
now i am struggling to make the contour lines really lines and not series
points, cubicspline doesn't do, bspline either, line no way..
I will try epslatex or enh ps..
i am sure they will work better than jpeg!!
Thanks

--
"Noi fummo i gattopardi,i leoni.Chi ci sostituir saranno gli
sciacalli,le iene.E tutti quanti,gattopardi,leoni,sciacalli o
pecore,continueremo a crederci il sale della terra." GTdL
Agostino Nevermore
 
 
 

labels..

Post by merrit » Wed, 12 Mar 2008 08:45:36

In article <47d5beb3$0$5933$ XXXX@XXXXX.COM >,



LyX is perfectly to happy to import either a PNG image or an EPS file.


--
Ethan A Merritt
 
 
 

labels..

Post by Dan » Thu, 13 Mar 2008 02:23:19


For plotting graphs, almost anything beats jpeg.

Usually, a vector format is best:
-- For processing with pdflatex, the pdf format is best.
If your version of gnuplot won't produce pdf, then epstopdf
will turn eps to pdf.
-- For processing with *** (followed by dvips), the eps format
is best. The enhanced ps terminal is the simplest way to get
that, but the epslatex terminal makes it easier to get the fonts
in the plot to match the document's fonts.

I am certain LyX can be induced to accept either pdf or eps
depending on the postprocessor that will be used (pdflatex
or latex).


Dan
 
 
 

labels..

Post by Agostino N » Thu, 13 Mar 2008 07:59:18

Il Tue, 11 Mar 2008 10:23:19 -0700, Dan ha scritto:

hi Dan and thanks
i will process the document as pdf
so i suppose eps would do the job..
i don't want to introduce it as a separate page but rather embed it a
graphic file or if possible as a child document

--
"Noi fummo i gattopardi,i leoni.Chi ci sostituir saranno gli
sciacalli,le iene.E tutti quanti,gattopardi,leoni,sciacalli o
pecore,continueremo a crederci il sale della terra." GTdL
Agostino Nevermore