|
From: Gavin B. <gav...@ya...> - 2005-11-10 10:35:21
|
Hi, This is a good one! Not too sure it can be done. As I understand it the colors are fairly limited in gnuplot - and you'd have to draw each section of the curve separately. If I was going to do this - using gnuplot (there may be better packages out there for this problem) - I would have to mess around with the postscript file. First of all I would have a limited number of 'segments' for my curve. I would draw each of these in a different colour (theres only ten colours in ps term!). Then I would look at the post script file in a text editor and find the parts with \LT and then a number. These are the colours and you can play around with the RGB of them. It'd be a pain in the backside if you had to do it several times though, but as long as you can chop your curve into a limited number of segmentsit should work. I don't know if anyone else can think of a better way to do it? Gavin. > Date: Wed, 9 Nov 2005 19:28:32 -0800 (PST) > From: Sophia Tang <sop...@ya...> > To: gnu...@li... > Subject: [Gnuplot-info] Tracing a 3D curve with > color gradience > > Hello: > > I would like to trace a curve in 3D using color > gradience, through one or both ways: > > 1) progressing in color as away from the starting > point along the curve. > > 2) progressing in color in the z direction. > > Could you please let me know if there is a way to do > this? I really appreciate an answer. > > Thanks, > sophia > __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com |