Graphics, Figures & Tablesphasor diagram incomplet (not sinus waves)

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
frantov
Posts: 1
Joined: Tue Apr 12, 2016 1:42 pm

phasor diagram incomplet (not sinus waves)

Post by frantov »

Dear All
I need to make some phasor diagrams. I have copy the example from
here
http://www.texample.net/tikz/examples/phasor-diagram/

but in my OSX Im not getting the waves shape (see attached).

What am I missing?

Regards
Attachments
phasors.pdf
(6.44 KiB) Downloaded 196 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

Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

phasor diagram incomplet (not sinus waves)

Post by Stefan Kottwitz »

Hi Frantov,

welcome to the forum!

For this example you need to have
  • gnuplot installed
  • shell-escape enabled
Nowadays I would use pgfplots for this. In that case, the requirements above don't matter any more: pgfplots works natively in LaTeX and produces fine results. Take a look at pgfplots.net.

Perhaps show diagrams you are actually working on, if you like. I know pgfplots, I'm just a bit busy these days. Perhaps the pgfplots manual already helps.

Stefan
LaTeX.org admin
Post Reply