General.tex to .png

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
schweinebauch
Posts: 3
Joined: Sat May 07, 2016 11:05 am

.tex to .png

Post by schweinebauch »

Hello

Now I want to insert a figure and the figure data were store in a .tex file.This figure is shown in attachment 1.png. how can I covert .tex to png or eps file, I attached my.tex file. i hope some one can help me .
Attachments
figure
figure
屏幕快照 2016-05-07 11.04.39.png (31.56 KiB) Viewed 4796 times
1.tex
.tex file
(278.35 KiB) Downloaded 465 times

Recommended reading 2024:

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

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

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

.tex to .png

Post by Johannes_B »

You can use standalone or tikzexternalise to get a separate pdf of just the figure. You can convert that pdf to whatever you want.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

.tex to .png

Post by Stefan Kottwitz »

Welcome to the forum!

Perhaps tell us, where the difficult point is. The .tex file is a tikzpicture snippet, fine. Do you know how to compile it, as a TeX document?

Btw. why PNG - what shall be the result, a PDF file or a print on paper? PNG is limited, there may be other options.

Stefan
LaTeX.org admin
Post Reply