统计条形图命令barchart
bar---吧,chart---图表,放在一起为条形图的意思。条形图由3个要素组成,宽,高,组距。该命令就是通过对这三个要素的控制去绘图的。祖距的默认值是1.
1.barchart[list of data,list of frequences]
list of data---每个小矩形的中心点数据,list of frequence---每个小矩形的高。数据类型为list。
2.barchart[list of data,list of frequences,width of bars]
width of bars---组距
3.barchart[list of raw data,width of bars]
list of raw data--原始数据,width of bars---组距(每一个小组就叫bar),没有小矩形的高,取默认值1.
4.barchart[startvalue,endvalue,list of height]
startvalue条形图的左面开始点,endvalue条形图的右面结束点,list of height各个小矩形的高度列表。
5.barchart[startvalue,endvalue,expression,variable,from number,to number]
如:startvalue和endvalue确定统计图的宽,
expression,variable ,from number,to number确定统计图的高。
如:i+2,i,2,8相当于输入列表{4,5,6,7,8}
6.barchart[startvalue,endvalue,expression,variable,from number,to number,step width]
如:startvalue和endvalue确定统计图的宽,
expression,variable ,from number,to number,step width(步长)确定统计图的高。
如:i+2,i,2,8,2就相当于是输入列表{4,6,8}
以下是从ggb官网复制的话,直译如下:
■50 languages
有50种语言
Find out about all the details in the GeoGebra 4.0 Release Notes.
找到所有ggb4.0的相关注释
All new features are described in our fully revised manual GeoGebra Manual.
所有的新特性被放在了修订后的手册中。
If you have any questions,
如果你还有问题
suggestions,
建议
or bug reports,
或bug报告
please let us know in the GeoGebra User Forum.
请到论坛告知我们。
Future
将来
Take a look ahead and try out the currently developed version of GeoGebra.
试试目前研发的ggb的版本
■GeoGebra 4.2 Beta Release (with CAS) - experimental version
ggb 4.2 最新beta ---实验版本
注:4.0版本我用过,是繁体字,只能在线安装,我实验过,和3.2差别不大。beta为测试之意。QQ软件都是这么标记的。4.2我看了其它网友贴的不是繁体字了。
■GeoGebra 5.0 Beta Release (with 3D) - experimental version
ggb 5.0 最新beta 3D 实验版本。
ggb官方论坛地此: http://www.geogebra.org/forum/viewforum.php?f=24
-----------------------
我用ggb5.0的笔工具,发现怎么也没发擦除。于是到官方论坛去看了看,发现有解说,翻译如下:
Are there Eraser for the pen tool?
笔工具有擦除吗?
Eraser -> Use Pentool with Right-Mouse-Button.
老外说:橡皮擦是用笔工具的鼠标右键按钮。
The input for the chat is not very handy: Would be nice to use Return to send a message. And changing the size of the input-box let the button move under the input-box.
js脚本---来自于官网
JavaScript
JavaScript is a programming language used by many Internet technologies. Unlike GeoGebra Script, in Javascript the commands don't have to be executed as a simple sequence, but a control flow (if, while, for) can be used. For generic JavaScript you can find a nice tutorial on developer.mozilla.org. In GeoGebra, you can use special JavaScript methods which allow you to change the construction. These methods belong to ggbApplet object, which means that you call them as ggbApplet.method_name(parameter,..,parameter). For complete list of these methods see Reference:JavaScript.
GeoGebra contains its own JavaScript engine. When exported as Dynamic Worksheet one can choose whether to use this engine or the one contained in browser applets. If you edit JavaScript in a HTML page, the ggbApplet variable will not be initialized, you have to initialize it e.g. using ggbApplet=document.applets[0]; first.
Global JavaScript
In the Global JavaScript part of Scripting tab in Properties Dialog you may define some functions or do some assignments that will be done before the construction is loaded. You can also define function ggbOnInit(), which is called automatically once the construction is loaded. The ggbOnInit function can be used for registering some listeners, as shown below.
全局js脚本
在脚本标签的属性对话框中的全局js脚本部分,你可以定义一些函数,或做一些赋值,在你加载对象前,你也可以定义函数ggbInit(),它能够被自动的调研,在你加载对象前。函数ggbInit能够被注册的侦听器使用,如下面的例子:
Example:
function onAdd(name){
alert("Object "+name+" was added.");
}
function ggbOnInit(){
ggbApplet.registerAddListener("onAdd");
}
First we defined function onAdd that given a string shows a message depending on that string. After that, using the ggbOnInit function, we told GeoGebra to call this function whenever a new object is added. Once we reload our construction, function ggbOnInit will be called and since then, when user adds a point named e.g. A, message "Object A was added" will appear.
首先,我们定义函数onAdd,它提供一个依赖于字符串显示一段信息的字符串,
之后,当使用函数ggbInit时,我们告诉ggb无论是什么样的新对象,都调用这个函数。一旦我们再次加载我们的对象,函数ggbOnInit将被调用,从那时开始,当用户添加一个被命名的点,如A,信息“对象A被添加”将出现。
void setLayer(String objName) 3.2 Sets the layer of the object
-----------------------------------------------------------
官方的javascript手册也有错误,上面那句就是错的。应为
void setLayer(String objName,integer) 3.2 Sets the layer of the object
意思是设置某对象位于第几层
以下是官网地此
(错误源)http://wiki.geogebra.org/en/Reference:JavaScript作者: myzam 时间: 2011-11-7 12:16