Deprecated: Required parameter $errors follows optional parameter $type in /customers/5/9/f/padowan.dk/httpd.www/forum/include/parser.php on line 524

1 (edited by shredder05 2015-10-15 23:22:48)

Topic: Lines to go from x axis to coordinate

Title and attachment summarize the suggestion.

i (dot) imgur (dot) com/6cSLVZY.png

Re: Lines to go from x axis to coordinate

I am not sure what you are trying to say. Is this wrong? What did you expect? It might be easier if you attach the gif file.

Re: Lines to go from x axis to coordinate

He wants to be able to add vertical lines from the X-Axis to a point on the curve
I'd like this too.

I would love scripting that would allow us to add a set of rectangles to show area approximation and other fun stuff.
Be able to add custom shading instead of the fixed options already provided.

Example script:
For (i=1 to 8)
DrawLine (x+i,0,x+i,y);
EndFor

This would add a set of 8 vertical lines evenly spaced apart.

Re: Lines to go from x axis to coordinate

The following script will create 8 paramedic functions showing vertical lines between 0 and 5:

x = 2
y = 5
for i in range(8):
  F=Graph.TParFunc(str(x+i), "t")
  F.From = 0
  F.To = y
  F.Size = 3
  Graph.FunctionList.append(F)
Graph.Redraw()

Currently it is not possible to create custom shadings, but you may be able to create several that combined shows what you want.

To use scripts you need to install Python 3.2 (32bit) from https://www.python.org/ftp/python/3.2.5 … -3.2.5.msi. You can then use F11 to show the Python interpreter.