|
From: Thomas S. <t.s...@fz...> - 2009-11-26 15:44:37
|
this has been repaired in the development version of gnuplot. Paulo E. Abreu-2 wrote: > > Hello, > I am doing a 3D plot where I have to plot some points colored by their > z-value. > > unset key > set palette > splot 'file1.txt' using 1:2:3 with points palette pointtype 7 pointsize > 0.75 > > But I also want to plot a vector on each point with the same color as the > previous plotted point. So I use > > splot 'file1.txt' using 1:2:3 with points palette pointtype 7 pointsize > 0.75, 'vecs.txt' using 1:2:3:4:5:6:(3) with vectors linetype palette > > but I get the color of the vectors from the sixth coordinate in the > 'vecs.txt' file which is always zero in my case and I end up with all > black > vectors. > I know that I could do > > splot 'file1.txt' using 1:2:3 with points palette pointtype 7 pointsize > 0.75, 'vecs.txt' using 1:2:3:4:5:6 with vectors linetype palette cb 3 > > but I want to have the color determined by the third coordinate which > gives > the height of each point. Is that possible ? or should I convert > everything > to 'set arrow' commands ? How to plot the arrows with a color determined > by > its third coordinate ? > > Thanks in advance > > Paulo > > -- > Paulo E. Abreu > Professor Auxiliar > Departamento de Química > Faculdade de Ciências e Tecnologia da Universidade de Coimbra > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/Vectors-with-the-same-color-as-the-underlying-points-tp26529736p26531165.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |