Asymptote
Asymptote 로고 | |
패러다임 | 명령형, 조판 |
---|---|
설계자 | Andy Hammerlindl, John C. Bowman, Tom Prince |
발표일 | 2004년(20년 전)(2004) |
최근 버전 | 2.91[1] |
최근 버전 출시일 | 2024년 8월 15일(17일 전)(2024년 8월 15일) |
자료형 체계 | 스트롱 |
구현 언어 | C++ |
운영 체제 | 크로스 플랫폼 |
라이선스 | LGPL |
웹사이트 | asymptote |
영향을 받은 언어 | |
메타포스트 |
Asymptote는 Andy Hammerlindl, John C. Bowman (University of Alberta), Tom Prince가 개발한 서술형 벡터 그래픽스 언어이다. 테크니컬 드로잉을 위한 자연 좌표 기반 프레임워크를 제공한다. Asymptote는 모든 주요 플랫폼(유닉스, 맥 OS, 마이크로소프트 윈도우)에서 실행된다. GNU 약소 일반 공중 사용 허가서(LGPL)로 배포되는 자유 소프트웨어이다.
예시
Asymptote를 사용하여 단위 계단 함수 그래프를 그리는 예시이다.
import graph; import settings; outformat="pdf"; size(300,300); // Function. real[] x1 = {-1.5,0}; real[] y1 = {0,0}; real[] x2 = {0,1.5}; real[] y2 = {1,1}; draw(graph(x1,y1),red+2); draw(graph(x2,y2),red+2); draw((0,0)--(0,1),red+1.5+linetype("4 4")); fill( circle((0,1),0.035), red); filldraw( circle((0,0),0.03), white, red+1.5); // Axes. xaxis( Label("$x$"), Ticks(new real[]{-1,-0.5,0.5,1}), Arrow); yaxis( Label("$y$"), Ticks(new real[]{0.5,1}), Arrow, ymin=-0.18, ymax=1.25); // Origin. labelx("$O$",0,SW);
위의 코드는 다음의 PDF 출력을 생성한다.
같이 보기
각주
- ↑ “Release 2.91”. 2024년 8월 15일. 2024년 8월 20일에 확인함.
외부 링크
- (영어) Asymptote - SourceForge.net
- Asymptote official website
- Philippe Ivaldi's extensive Asymptote gallery
- Asymptote: Art of Problem Solving Wiki
- Art of Problem Solving Forum[깨진 링크(과거 내용 찾기)]
- Programming with Asymptote (in Dutch)
- An Asymptote Tutorial by Charles Staats