## Re: [PyX-user] No horizontal line.

 Re: [PyX-user] No horizontal line. From: Andre Wobst - 2005-01-26 10:17:47 ```Hi, On 26.01.05, Joerg Lehmann wrote: > For this case, I definitely prefer the variants y(x2) = sin(x2) and > y4(x1) = cos(x1), which my "clumsy" didn't refer to. I was just saying > that for the parametric functions this notation becomes a bit lengthy. > But note that my "but still..." was meant as a +0, maybe even more. I suggest to drop this parametric function business (which I raised myself, I know), since it's really not a crucial thing at all. And its a sufficiantly different thing compared to a "normal" function to have a different notation for the parameter here. I give it a -0 for the moment ... > > Unfortunately, we then will also be asked for something crude like > > > > y2(x1, x2) = x1 * sin(x2) > > > > Does this actually work at the moment? > > At the moment not, because there is no bracket notation on the left hand > side of the equal sign at all. At the moment we do not support a two parameter function, since we currently do not have an xyz-graph. Sure we'll add it in the future. And it's likely that the above code will become work, but it'll create something very strange (i.e. looping over x1 and x2 independly). And you'll have trouble getting a style consuming that data (you can write your own one or may be a errorbar or bar like thing would work). Overall I totally dislike this idea (the way you meant it, i.e. x1 and x2 refer to the *same* graph position), since the function will strangely depend on the graph (although it's natural, that the function data depend on the graph since, for example, the range of a function depends on the graph and it differs in several graphs for the very same function instance). What if somehow the axis ranges get changed? No way ... this is really uncontrolable. André -- by _ _ _ Dr. André Wobst / \ \ / ) wobsta@..., http://www.wobsta.de/ / _ \ \/\/ / PyX - High quality PostScript figures with Python & TeX (_/ \_)_/\_/ visit http://pyx.sourceforge.net/ ```