I am really new to graphics in LaTeX, I have understand the skills needed to draw basic straight lines and circles; I am now learning how to make simple functions like polynomials, trigonometric, exponential, logarithm, etc. I am new to this site, so apologize if a similar question had been asked.
The book that I am currently using is The Not So Short Introduction to LaTeX2e, the wikibook, but they all mention the Bezier curve. I understand the basic idea of the Bezier curve through this website http://pomax.github.io/bezierinfo/. But it is still doesn't make my graph drawing easy. Those books that I am reading do not seem to teach us how to find the control points when drawing the Bezier curves.
My questions are:
Are there any quick ways to draw the Bezier curve without calculating the control points. Is it a must for us to calculate the control points in order to draw a Bezier curve, or do we do it by trial-and-error?
Besides using the Bezier curve, is there any simpler method to draw simple functions for example the command
\drawsin(x^2)or something like that or any other methods?
I have also read about the TikZ picture environment, but it doesn't seem to be any simpler? What are the advantages and disadvantages of using TikZ compared to Bezier curve? Can we draw simple functions like polynomials using TikZ?
It is possible to show me the code (using any methods) needed to draw a very basic graph like
documentclassand appropriate packages. I apologise I had not made any useful attempt because this is really new to me.
I am trying to make some notes for my students about functions so I need a quick and neat way to draw graphs. I appreciate any help and explanation.