/samples
) between to limiting values, as below:QSoas> generate-buffer -2 2
By default, the values are taken equal to . However, generate-buffer also takes an optional formula to directly set the values:
QSoas> generate-buffer -10 10 sin(x)
From version 2.0
, it is possible to generate several datasets in a row using the /number
option, and to color them using the /style
option (but only since version 2.1
). Each dataset is generated according to the formula, and number
is a special number that starts at 0 and increases by 1 for each dataset. Here's what I used to generate the picture on the right:
QSoas> generate-buffer -2 2 sin(PI*x)**(number+1) /number=30 /style=red-to-blue
No comments:
Post a Comment