LoginSignup
0
0

More than 5 years have passed since last update.

maximaのplotの軸の目盛りを調整

Last updated at Posted at 2015-02-22

例えば、x軸を0.1間隔で表示してほしいとかそういう場合の指定の仕方。

plot2d(f(x),[x,0,1],[gnuplot_preamble, "set xtics 0.1"])

横軸ならxtics、縦軸ならyticsを設定する。これはf(x)の変数名がxだろうがnだろうがxticsとyticsで固定。というかこれは多分gnuplotの設定なんじゃないかな。

追記

普通にplot2d自体のオプションでいけるようだ。

plot2d(f(x),[x,0,1],[xtics,0.1])
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0