---
layout: post
title: 関数のグラフを描画するプログラム
date: 2020-01-03 12:33:17 +0000
update: 2023-01-09 06:59:11 +0000
tags:
- jekyll
- javascript
- math
---
HTML5 の [Canvas要素](https://ja.wikipedia.org/wiki/Canvas%E8%A6%81%E7%B4%A0) で関数のグラフを描画するプログラム DrawCartesianGraph を JavaScript で作成した。
## 使い方
以下のようにして、指定した関数のグラフを描画することができる。
- このページの[ソース](https://raw.githubusercontent.com/sekika/sekika.github.io/master/_posts/2020-01-03-DrawCartesianGraph.md)を表示して、`