MathGL – library for scientific graphics


Main

News

Features

Pictures

FAQ

MGL scripts

Download

Documentation

Contact

Other projects

SourceForge.net Logo thefreecountry.com: Free Programmers' Resources, Free Webmasters' Resources, Free Security Resources, Free Software Support This Project

Examples of [C++ / MGL / C / Fortran / Python] code for creating this plot lie below.
If you have questions of using sample code then see here. Also you can see 3D pdf file here.

C++ code

gr->Puts(mglPoint(0), "\\sqrt{\\frac{\\alpha^{\\gamma^2}+\
\\overset 1{\\big\\infty}}{\\sqrt3{2+b}}}", 0, -4);

MGL code

new a 20 30
text 0 0 '\sqrt{\frac{\alpha^{\gamma^2}+\overset 1{\big\infty}}{\sqrt3{2+b}}}' '' -4

Pure C code

mgl_puts_ext(gr, 0., 0., 0., "\\sqrt{\\frac{\\alpha^{\\gamma^2}+\
\\overset 1{\\big\\infty}}{\\sqrt3{2+b}}}", "C", -4, 't');

Fortran code

call mgl_puts_ext(gr, 0., 0., 0., '\sqrt{\frac{\alpha^{\gamma^2}+&
\overset 1{\big\infty}}{\sqrt3{2+b}}}', 'C', -4., 't')

Python

gr.Puts(0., 0., 0., "\\sqrt{\\frac{\\alpha^{\\gamma^2}+\
\\overset 1{\\big\\infty}}{\\sqrt3{2+b}}}", "C", -4);