2D 图表库 Function Plot

MIT
JavaScript
跨平台
2015-04-13
红薯

Function Plot 是一个基于 D3.js 开发的 2D 图表库,用来绘制各种函数图。

示例代码:

functionPlot({
  title: 'y = x * x',
  target: '#linear-with-options',
  width: 580,
  height: 400,
  disableZoom: true,
  xLabel: 'x - axis',
  yLabel: 'y - axis',
  data: [{
    fn: function (x) {
      return x * x;
    }
  }]
});

效果:

安装:

NPM

加载中

评论(0)

暂无评论

暂无资讯

暂无问答

LaTeX - 星形线(内摆线的一种)

\documentclass[border=0,tikz]{standalone} %\usetikzlibrary{quotes,angles} \usetikzlibrary{arrows.meta} \usetikzlibrary{datavisualization.formats.functions}% hanshu %\usetikzlibr...

2018/10/26 14:22
25
0
Logistic regression

1: Classification As we learned in the last mission, the fundamental goal of machine learning is to understand the relationship between the independent variable(s) and the depen...

2016/09/25 11:23
34
0
AM调制解调的matlab仿真

用matlab产生一个频率为1Hz,振幅为1的余弦信源,设载波频率为10Hz,A=2.想干解调器输入信噪比为15dB 主程序: %AM调制 fc=10; f0=1; A=2; t0=5;%如果频率为1,那至少要信号时长5个周期 snr=...

2012/08/08 00:46
481
0
jquery图标插件flot官方英文文档

Consider a call to the plot function: var plot = $.plot(placeholder, data, options) The placeholder is a jQuery object or DOM element or jQuery expressionthat the plot will be p...

2015/03/11 16:27
47
0
Gradient descent

1: Introduction To The Data We have a dataset pga.csv containing professional golfers' driving statistics in two columns, accuracy and distance. Accuracy is measured as the perc...

2016/09/28 18:30
67
0
Guided Project: Analyzing movie reviews

1: Movie Reviews In this project, you'll be working with Jupyter notebook, and analyzing data on movie review scores. By the end, you'll have a notebook that you can add to your...

2016/09/21 15:33
40
0
Probability distributions

1: The Dataset In the last mission, we looked at calculating probabilities. In this mission, we'll construct probability distributions. But first, let's look at the dataset we'l...

2016/09/22 11:59
11
0
Linear Regression

1: Introduction In this mission, we'll be looking at how expert wine tasters evaluated different white wines. Here are the first few rows of the data: "fixed acidity","volatile ...

2016/09/18 23:37
5
0
Export Figures for LaTeX Writing

Export a figure with Matlab

2016/03/07 13:38
22
1

没有更多内容

加载失败,请刷新页面

返回顶部
顶部