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 4869 times
1.tex
.tex file
(278.35 KiB) Downloaded 474 times

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

User avatar
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: 10361
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