peaks; axis tight %Set the axis limits to equal the range of the data axis square axis 'auto x' %x轴坐标上下限自动调整 axis off %Plot a surface without displaying the axes lines and background. set(gca,'Visible','off'); %消除坐标轴,显示范围的大小没有改变,同上句 %更多特性
背景及相关简介 在最近的BS新项目中需要用到绘图数据显示的功能.在进行充足的选择之后决定才去开源的Flot.Flot是一个jQuery绘图库.主要用于简单的绘制图表功能.具有吸引人的渲染外观和互操作的特性.其在Internet Explorer 6+, Chrome, Firefox 2+, Safari 3+ and Opera 9.5+浏览器下工作正常.目前的版本是Version0.8.3. 以下是相关链接.在官网的example中展示出了flot可以绘制的样例,并且我想这些样例的源代码也许