Graphics, Figures & TablesTikZ - drawing functions

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
tardis93
Posts: 7
Joined: Thu Dec 27, 2012 7:39 pm

TikZ - drawing functions

Post by tardis93 »

Hy, everyone. I have to replicate this three functions in LaTeX using TikZ and I clearly don't know how to write it, do you know any sites with tutorials or with examples so I can try and do it myself. Also we have to do two functions with cubic Bezier interpolation and one with linear interpolation. Also we have to draw it in 100 dots, can you explain me what does that mean, and here are the functions and function graph, so could anyone introduce me a little bit with TikZ i would be so gratefull :) Thank you

Here are the links for the pictures of functions and how should the graph look like:)
http://i48.tinypic.com/9gd62x.jpg
http://i45.tinypic.com/15cdhg0.jpg

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

mas
Posts: 226
Joined: Thu Dec 04, 2008 4:39 am

TikZ - drawing functions

Post by mas »

Take a look at pgfplots. It can do what you want. You can post your attempts and someone will definitely help you :-)

Regards.

OS: Debian/GNU Linux; LaTeX System : TeXLive; Editor : Vim
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

TikZ - drawing functions

Post by cgnieder »

The TikZ manual (pgfmanual) can be a bit scary at the beginning but it is very comprehensive and has excellent tutorials. Also, there is TeXample, a website that presents lots of TikZ examples. The combination of both or mas' suggestion (pgfplots) should at least get you started.

Regards
site moderator & package author
tardis93
Posts: 7
Joined: Thu Dec 27, 2012 7:39 pm

Re: TikZ - drawing functions

Post by tardis93 »

Thanks alot guys, I will update you with my progress later. Once more, thank you very much :)
Post Reply