Save tikz image and use away from latexSave and load TikZ graphsHow to save a figure produced by tikz save/export as JPG/PNG fileTikZ scaling graphic and adjust node position and keep font sizeSave from LyX to PNGTikz : texture cube faces using png imageCreate PNG image from PSTricks drawingGenerating a transparent image from LaTeXConvert pdf image to png. TiKZDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingLine up nested tikz enviroments or how to get rid of them

Why is 150k or 200k jobs considered good when there's 300k+ births a month?

What is the word for reserving something for yourself before others do?

Why does Kotter return in Welcome Back Kotter?

how to check a propriety using r studio

How is it possible to have an ability score that is less than 3?

Is it inappropriate for a student to attend their mentor's dissertation defense?

Client team has low performances and low technical skills: we always fix their work and now they stop collaborate with us. How to solve?

expand `ifthenelse` immediately

Two films in a tank, only one comes out with a development error – why?

I'm flying to France today and my passport expires in less than 2 months

Paid for article while in US on F-1 visa?

How much of data wrangling is a data scientist's job?

Decision tree nodes overlapping with Tikz

if condition in the past

Why is consensus so controversial in Britain?

What does the "remote control" for a QF-4 look like?

What's the point of deactivating Num Lock on login screens?

Can I ask the recruiters in my resume to put the reason why I am rejected?

Did Shadowfax go to Valinor?

A case of the sniffles

How can bays and straits be determined in a procedurally generated map?

Replacing matching entries in one column of a file by another column from a different file

How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?

What is a clear way to write a bar that has an extra beat?



Save tikz image and use away from latex


Save and load TikZ graphsHow to save a figure produced by tikz save/export as JPG/PNG fileTikZ scaling graphic and adjust node position and keep font sizeSave from LyX to PNGTikz : texture cube faces using png imageCreate PNG image from PSTricks drawingGenerating a transparent image from LaTeXConvert pdf image to png. TiKZDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingLine up nested tikz enviroments or how to get rid of them













0















I need to create and save latex drawing so i can use there else where.



Im using the code



begintikzpicture[scale=0.8,domain=-2:20]
beginaxis[
height = 11.7cm,
width = 15cm,
axis lines=middle,
grid=major,
xmin=-2,
xmax=10,
ymin=-2,
ymax=20,
y label style=at=(axis description cs:0.5,-0.05),anchor=north,
x label style=at=(axis description cs:-0.05,.5),rotate=0,anchor=south,
xlabel=$y$,
ylabel=$x$,
xtick=-2,-1,0,...,14,
ytick=-2,0,...,20,
tick style=very thick,
legend style=
at=(rel axis cs:0,1),
anchor=north west,draw=none,inner sep=0pt,fill=gray!10
]
addplot[black,thick,samples=1] 0;
draw[color=red, smooth] plot (x,x*x-8*x+16) node[above left] $y = 3$;
draw (4,1.5) node[anchor=north](4,0);
draw (1.2,16) node[anchor=east](0,16);
draw (7,8) node[anchor=west]$y=x^2-8x+16$;
endaxis
endtikzpicture


and i want to save the image it creates as a png. I need to create multiple of these with differences to each image. So i need to create all the images with the exact scale and size so doing a screenshot of the page is not good enough.









share






















  • Just compile it as a standalone document?

    – marmot
    4 mins ago











  • wouldnt that create a A4 page? I want it to be the size of the graph

    – Jettie Baker
    3 mins ago











  • No, it wouldn't. Id you use documentclass[tikz]standalone this will produce a pdf of the size of the tikz graph. If you use the convert options of standalone appropriately, you can create automatically a png of the same page size.

    – marmot
    44 secs ago
















0















I need to create and save latex drawing so i can use there else where.



Im using the code



begintikzpicture[scale=0.8,domain=-2:20]
beginaxis[
height = 11.7cm,
width = 15cm,
axis lines=middle,
grid=major,
xmin=-2,
xmax=10,
ymin=-2,
ymax=20,
y label style=at=(axis description cs:0.5,-0.05),anchor=north,
x label style=at=(axis description cs:-0.05,.5),rotate=0,anchor=south,
xlabel=$y$,
ylabel=$x$,
xtick=-2,-1,0,...,14,
ytick=-2,0,...,20,
tick style=very thick,
legend style=
at=(rel axis cs:0,1),
anchor=north west,draw=none,inner sep=0pt,fill=gray!10
]
addplot[black,thick,samples=1] 0;
draw[color=red, smooth] plot (x,x*x-8*x+16) node[above left] $y = 3$;
draw (4,1.5) node[anchor=north](4,0);
draw (1.2,16) node[anchor=east](0,16);
draw (7,8) node[anchor=west]$y=x^2-8x+16$;
endaxis
endtikzpicture


and i want to save the image it creates as a png. I need to create multiple of these with differences to each image. So i need to create all the images with the exact scale and size so doing a screenshot of the page is not good enough.









share






















  • Just compile it as a standalone document?

    – marmot
    4 mins ago











  • wouldnt that create a A4 page? I want it to be the size of the graph

    – Jettie Baker
    3 mins ago











  • No, it wouldn't. Id you use documentclass[tikz]standalone this will produce a pdf of the size of the tikz graph. If you use the convert options of standalone appropriately, you can create automatically a png of the same page size.

    – marmot
    44 secs ago














0












0








0








I need to create and save latex drawing so i can use there else where.



Im using the code



begintikzpicture[scale=0.8,domain=-2:20]
beginaxis[
height = 11.7cm,
width = 15cm,
axis lines=middle,
grid=major,
xmin=-2,
xmax=10,
ymin=-2,
ymax=20,
y label style=at=(axis description cs:0.5,-0.05),anchor=north,
x label style=at=(axis description cs:-0.05,.5),rotate=0,anchor=south,
xlabel=$y$,
ylabel=$x$,
xtick=-2,-1,0,...,14,
ytick=-2,0,...,20,
tick style=very thick,
legend style=
at=(rel axis cs:0,1),
anchor=north west,draw=none,inner sep=0pt,fill=gray!10
]
addplot[black,thick,samples=1] 0;
draw[color=red, smooth] plot (x,x*x-8*x+16) node[above left] $y = 3$;
draw (4,1.5) node[anchor=north](4,0);
draw (1.2,16) node[anchor=east](0,16);
draw (7,8) node[anchor=west]$y=x^2-8x+16$;
endaxis
endtikzpicture


and i want to save the image it creates as a png. I need to create multiple of these with differences to each image. So i need to create all the images with the exact scale and size so doing a screenshot of the page is not good enough.









share














I need to create and save latex drawing so i can use there else where.



Im using the code



begintikzpicture[scale=0.8,domain=-2:20]
beginaxis[
height = 11.7cm,
width = 15cm,
axis lines=middle,
grid=major,
xmin=-2,
xmax=10,
ymin=-2,
ymax=20,
y label style=at=(axis description cs:0.5,-0.05),anchor=north,
x label style=at=(axis description cs:-0.05,.5),rotate=0,anchor=south,
xlabel=$y$,
ylabel=$x$,
xtick=-2,-1,0,...,14,
ytick=-2,0,...,20,
tick style=very thick,
legend style=
at=(rel axis cs:0,1),
anchor=north west,draw=none,inner sep=0pt,fill=gray!10
]
addplot[black,thick,samples=1] 0;
draw[color=red, smooth] plot (x,x*x-8*x+16) node[above left] $y = 3$;
draw (4,1.5) node[anchor=north](4,0);
draw (1.2,16) node[anchor=east](0,16);
draw (7,8) node[anchor=west]$y=x^2-8x+16$;
endaxis
endtikzpicture


and i want to save the image it creates as a png. I need to create multiple of these with differences to each image. So i need to create all the images with the exact scale and size so doing a screenshot of the page is not good enough.







tikz-pgf tikz-styles png





share












share










share



share










asked 5 mins ago









Jettie BakerJettie Baker

615




615












  • Just compile it as a standalone document?

    – marmot
    4 mins ago











  • wouldnt that create a A4 page? I want it to be the size of the graph

    – Jettie Baker
    3 mins ago











  • No, it wouldn't. Id you use documentclass[tikz]standalone this will produce a pdf of the size of the tikz graph. If you use the convert options of standalone appropriately, you can create automatically a png of the same page size.

    – marmot
    44 secs ago


















  • Just compile it as a standalone document?

    – marmot
    4 mins ago











  • wouldnt that create a A4 page? I want it to be the size of the graph

    – Jettie Baker
    3 mins ago











  • No, it wouldn't. Id you use documentclass[tikz]standalone this will produce a pdf of the size of the tikz graph. If you use the convert options of standalone appropriately, you can create automatically a png of the same page size.

    – marmot
    44 secs ago

















Just compile it as a standalone document?

– marmot
4 mins ago





Just compile it as a standalone document?

– marmot
4 mins ago













wouldnt that create a A4 page? I want it to be the size of the graph

– Jettie Baker
3 mins ago





wouldnt that create a A4 page? I want it to be the size of the graph

– Jettie Baker
3 mins ago













No, it wouldn't. Id you use documentclass[tikz]standalone this will produce a pdf of the size of the tikz graph. If you use the convert options of standalone appropriately, you can create automatically a png of the same page size.

– marmot
44 secs ago






No, it wouldn't. Id you use documentclass[tikz]standalone this will produce a pdf of the size of the tikz graph. If you use the convert options of standalone appropriately, you can create automatically a png of the same page size.

– marmot
44 secs ago











0






active

oldest

votes












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483428%2fsave-tikz-image-and-use-away-from-latex%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483428%2fsave-tikz-image-and-use-away-from-latex%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

strTok function (thread safe, supports empty tokens, doesn't change string)String case reverse function in CGet line from string functionTDD: String Calculator KataC - K&R getint() variationSimple function to generate an HTML-safe stringGeneric Pairing Heap PerformancePattern for writing a generic string transformation functionChange a string into a function/def activatorC++ string tokenizing without streams, with certain conditionsRead consecutive blanks in array

acmart: Multiple authors: all with same affiliation, one author an additional affiliationHow to Write Names of Multiple Authors with Shared Affiliation in ACM 2017 Template?Multiple authors with different primary affiliation, but same additional affiliationSame affiliation for all authors without extra packagesIOS-Book-Article.cls: one author with multiple affiliationacmart: Shared Author AffiliationMultiple authors with different primary affiliation, but same additional affiliationAuthor affiliation with only 1 authorAdding Multiple Authors with Different Affiliation in LaTeX ArticleLaTeX: Multiple authors stays on same lineHow to Label Multiple Authors with Same DescriptionHow to make two authors use the same affiliationTwo authors with same affiliation on finished front page

How to remove border form elements in the last row?Targeting flex items on the last rowHow to vertically wrap content with flexbox?Remove border from IFrameCSS3's border-radius property and border-collapse:collapse don't mix. How can I use border-radius to create a collapsed table with rounded corners?Div width 100% minus fixed amount of pixelsBorder around specific rows in a table?How to remove border (outline) around text/input boxes? (Chrome)How do I remove the space between inline-block elements?Flex-box: Align last row to gridRemove blue border from css custom-styled button in ChromeFill remaining vertical space with CSS using display:flexhow style elements in the last row of flexbox row layout with pure css without js