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 have a large set of data (changing daily) that I need to be able to wrap my head around, find correlations, etc. I'm dealing with 219 data sets (lines) that change in at least 4 dimensions. (and that's just the first chart!)
As I can pick a reasonable x and y where the lines shouldn't ever cross, I'd like to draw this out as a single 2-d graph, varying something other then just the x and y coordinates as it plots each line. I think it would be neat to vary the line thickness and color as it draws, to represent these extra variables. Note: I'm not talking about drawing each line with it's own thickness and color, I'm talking about drawing each line with variable thickness and color (a huge difference).
Now I come to the crux of the matter. I'm new to gnuplot. Does it even do this? I can't find any evidence that it does. Does it do anything remotely like this? I don't want to do a 3-d graph, as I need to clearly see changes in x and y.
Is there a better tool for this? I'd rather not write a full program to do this. I'd much rather take advantage of a plotting tool already designed and written. With this much data, exporting to SVG is a great bonus (and pdf is sugar on top).
Again, I'm looking for a graphing mechanism that adjusts more than just the x and y coordinates on a point-by-point basis as it plots. I'm hopeful, but I know that I'm asking an awful lot.
Now I come to the crux of the matter. I'm new to gnuplot. Does it even do this? I can't find any evidence that it does. Does it do anything remotely like this? I don't want to do a 3-d graph, as I need to clearly see changes in x and y.
I'm not sure I understand exactly what you're trying to do, but I doubt there's a more flexible plotting tool for something like this.
You may need to write a simple script to generate the plot, depending on what you mean by making changes in line type as it draws them.
You should first understand all the options of the plot command, especially "plot with <style> { features }; type "help plot" at the gnuplot interactive prompt.
CMIIW (Correct Me If I'm Wrong), I think I understand exactly what you want & it's brilliant -- represent 2 additional dimensions, say "w" & "z", w/ (continuously) variable line width & color.
I went to gnuplot tips & saw nothing quickly obvious, so I did 3 Google site searches:
Thanks for the suggestion. I had the same thought when I found it.
I'm off on another part of my project at the moment, but not before making another observation: some options can be set to follow a 3rd or 4th dimension. Color is one of them. It has something to do with putting a formula in the "using" argument for the plot command. For a while, I thought that "pointsize variable" in the "with" argument would give me width. Alas, that seems to only work for individual points.
I'm going to continue plucking away at this tomorrow. If anybody else has any bright ideas, I'm all ears!
(or a tutorial that's sufficiently advanced; none that I've seen are)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.