[VPython] Graphs (1)
Graphs graph 옵션에는 2 가지가 있다. (default is fast=True) 1. fast=False : 이동 및 확대 / 축소와 같은 interactive 기능이 있는 Plotly를 기반으로 한다. 2. fast=True : Flot을 기반으로 하며 interactive 형이 아니다. 먼저 그래프 창을 정의하고 그래프 크기, 제목 및 label을 지정한다. g = graph (width=600,height=400,title=’title here’,xtitle=’x’,ytitle=’y’, foreground=color.black, background=color.white, # optional xmin=0, xmax=10, ymin=-15, ymax=15,fast=False) # option..
2022. 1. 17.