Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I wonder if there is a minimum width that can be drawn with postscript.
Code:
gnuplot> set terminal postscript eps mono
Terminal type set to 'postscript'
Options are 'eps noenhanced defaultplex \
leveldefault monochrome colortext \
solid dashlength 1.0 linewidth 1.0 butt \
palfuncparam 2000,0.003 \
"Helvetica" 14 '
gnuplot> set output "out.eps"
gnuplot> plot sin(x) lw 5, cos(x) lw 1, sin(2*x) lw 0.18
In this code the sin(x) line is very thick, the cos(x) is thinner but I agree that the sin(2*x) doesn't look a lot thinner than the cos(x) line (when viewed with gv). Have you tried printing it, as for postscript the printer output is probably the most definitive test.
Other than that, do you really need a line that thin? On the wxt terminal I can hardly see it!
eps mode is for generating a single plot file for embedding in another document.
Not sure what you mean by 'only some plot's data'.
Maybe you want to change something in the plot command you are doing for your
graph.
I've usually found what I've needed with 'help plot' command inside gnuplot.
If you need more help, post a short example on what you are trying to do if
you cannot find it in the documentation.
I use gnuplot as set style line 10 linetype -1 lw 0.125
set terminal postscript eps enhanced colour lw 0.125
set output 'grafica1.eps'
set view 60,25,,
t=2.7
a=1
f(x,y)=(2*cos(sqrt(3)*x*a))+(4*cos(sqrt(3)*a*y/2))
gm(x,y)= t*sqrt(3+f(x,y))
splot gm(x,y) with lines ls 10 notitle, y*sin(x) with lines notitle
I only like to change the curves' linewidth, and do not change axes' linewidth.
in gnuplot
> help splot with
with <style> ... linewidth
Quote:
You may also scale the line width and point size for a plot by using
<line_width> and <point_size>, which are specified relative to the default
values for each terminal.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.