Graphics, Figures & TablesPlot problem

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
gamename
Posts: 1
Joined: Sun Jan 10, 2016 11:34 pm

Plot problem

Post by gamename »

Hi,please help me, I have to make this plot with tikz
by tommorow and i am new at learning latex so I don't know how to do it
the function is ax^2-3x+cos(90x) where a={-2.4,-2.1,...,2.4}
it needs to be done with \addplot{} and \foreach{}
xmin=-5,xmax=5,ymin=-20 ymax=20
I would be really thankful
Attachments
Slika iz 2016-01-10 23-06-17.png
Slika iz 2016-01-10 23-06-17.png (32.65 KiB) Viewed 2786 times

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Plot problem

Post by Johannes_B »

This seems to be a crosspost and a homework question.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply