|
From: karlahund <kar...@we...> - 2011-11-07 01:56:19
|
Thanks for your help, the "with lines"-command works fine. I'm still stuck on the linecolor: My C-Code divides the data now into two datasets Where can I specify the color of each dataset? Cheers, Karl Thomas Sefzick wrote: > > splot 'datafilename' with lines > > should work, but let one data block (separated by one blank line) have > more > than two points otherwise you will get cross isolines. > > to have branches in different colors you should divide your data into > data sets (separated by double blank lines) and use the 'index' option > of the 'splot' command. > > > karlahund wrote: >> >> Hi everybody, >> >> I'm trying to plot a 3-dimensional tree with thousands of branches. The >> dataset looks like this: >> >> startpointX startpointY startpointZ (new line) >> endpointX endpointY endpointZ (new line) >> (empty line) >> otherStartpointX ... >> >> The start- and endpoints should be connected by a line (so it's gonna >> look like a tree at the end). One day it'll be important that some of the >> lines/branches have different colors. >> I'm pretty new to gnuplot, so please excuse this probably easy question. >> >> Thanks in advance! Regards, >> Karl >> > > -- View this message in context: http://old.nabble.com/Plotting-3-dimensional-tree-tp32769375p32788698.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |