Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 1.25 KB

File metadata and controls

49 lines (40 loc) · 1.25 KB

discrete contours

Original Demo

1

# set contour
# set title "Demo of specifying discrete contour levels  -  default contours"
# splot x*y

Numo.gnuplot do
  set :contour
  set title:"Demo of specifying discrete contour levels  -  default contours"
  splot "x*y"
end

602discrete/001

2

# #set discrete levels
# set cntrparam levels discrete 0, 15, 75
# set title "3 discrete contours at 0 15 & 75"
# replot

Numo.gnuplot do
  set :cntrparam, :levels, discrete:[0,15,75]
  set title:"3 discrete contours at 0 15 & 75"
  replot
end

602discrete/002

3

# #set incremental levels
# set cntrp level incr -20, 5, 9
# set title "9 incremental contours starting at -20, stepping by 5"
# replot

Numo.gnuplot do
  set :cntrp, :level, incr:[-20,5,9]
  set title:"9 incremental contours starting at -20, stepping by 5"
  replot
end

602discrete/003