Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ethan A Merritt Newsgroups: comp.graphics.apps.gnuplot Subject: Re: set range for second independent variable in special file '++' Date: Mon, 20 Mar 2017 09:39:36 -0700 Organization: A noiseless patient Spider Lines: 49 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Mon, 20 Mar 2017 16:36:45 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="6f764dc9ebe032312d7f1a5aa6cff8e3"; logging-data="16422"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fkCGFSouGq3vaxINfzQU2" User-Agent: KNode/4.14.5 Cancel-Lock: sha1:PvZA0WQJztphd7VyyBTtqdw6Z/g= Xref: csiph.com comp.graphics.apps.gnuplot:3585 Karl Ratzsch wrote: > Hi, > > this is an example from the help: > > splot [-2:2][-2:2] sample [h=1:10] '+' using (cos(h)):(sin(h)):(h) This generates a parametric line in 3D space > > Simple enough. This gives an error, however > > splot sample [h=-9:9] [d=-0.2:0.2] '++' using > (cos(h)):(sin(h)):(h+d) What is this supposed to describe? Isolated points? A set of lines? A surface? A set of surfaces? > . Can i set the range for the second independent variable of "++" and > still set the x,y display range independently? > > I managed to do it plotting the numbers to a table, and then plotting > that with different (auto)ranging: > > set xr [-9:9] > set yr [-0.2:0.2] > set table $dat > splot '++' using (cos(h)):(sin(h)):(h+d) > unset table Those commands as shown do not work. There must be some other stuff you don't show. I still a can't figure out what you are aiming for here, so I can't offer a suggestion how else to get there. Ethan > reset > splot $dat w l > > but I think I'm missing something. ? > > Karl