How to draw/optimize this graph with tikz Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Label on edges with tikz-graphHow can I draw this graph with TikZ or forest?Draw an algorithm graph with TikzHow do I draw this cyclic graph in tikzgraph with tikz, math environment in nodesWhat's the code for this graph?How to draw this directed graph with tikzHow to draw this cyclic graph with tikzHow to eliminate the arrows on this Cayley GraphHow to optimize this codes of graphs with tikz
How fail-safe is nr as stop bytes?
How to play a character with a disability or mental disorder without being offensive?
What's the meaning of "fortified infraction restraint"?
Putting class ranking in CV, but against dept guidelines
Illegal assignment from sObject to Id
What does it mean that physics no longer uses mechanical models to describe phenomena?
Can the Great Weapon Master feat's damage bonus and accuracy penalty apply to attacks from the Spiritual Weapon spell?
Why does the remaining Rebel fleet at the end of Rogue One seem dramatically larger than the one in A New Hope?
Why should I vote and accept answers?
What are the out-of-universe reasons for the references to Toby Maguire-era Spider-Man in Into the Spider-Verse?
Converted a Scalar function to a TVF function for parallel execution-Still running in Serial mode
How do I change colors in Zim (wiki editor) running on Kubuntu 18.10?
AppleTVs create a chatty alternate WiFi network
Why do early math courses focus on the cross sections of a cone and not on other 3D objects?
How do I find out the mythology and history of my Fortress?
Take 2! Is this homebrew Lady of Pain warlock patron balanced?
Generate an RGB colour grid
SF book about people trapped in a series of worlds they imagine
Is there hard evidence that the grant peer review system performs significantly better than random?
Disembodied hand growing fangs
Do wooden building fires get hotter than 600°C?
An adverb for when you're not exaggerating
When a candle burns, why does the top of wick glow if bottom of flame is hottest?
Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?
How to draw/optimize this graph with tikz
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Label on edges with tikz-graphHow can I draw this graph with TikZ or forest?Draw an algorithm graph with TikzHow do I draw this cyclic graph in tikzgraph with tikz, math environment in nodesWhat's the code for this graph?How to draw this directed graph with tikzHow to draw this cyclic graph with tikzHow to eliminate the arrows on this Cayley GraphHow to optimize this codes of graphs with tikz
I would like to know if is there a way to optimize the code that I use to draw the next graph:
I do it using this:
documentclass[11pt]article
usepackagetikz
begindocument
beginfigure[h]
begintikzpicture[y=.5cm, x=.5cm,font=small]
draw [-latex](-1,0) -- (10,0);
draw [-latex](10,0) -- (4.5,9);
draw [-latex](4.5,9) -- (-1,0);
draw [-latex](2,2) -- (4.5,6);
draw [-latex](4.5,6) -- (7,2);
draw [-latex](7,2) -- (2,2);
draw [latex-latex,dashed](4.5,6) -- (4.5,9);
draw [latex-latex,dashed](-1,0) -- (2,2);
draw [latex-latex,dashed](10,0) -- (7,2);
filldraw[fill=black!40,draw=black!80] (-1,0) circle (2pt) node[anchor=east](23) ;
filldraw[fill=black!40,draw=black!80] (10,0) circle (2pt) node[anchor=west](13) ;
filldraw[fill=black!40,draw=black!80] (4.5,9) circle (2pt) node[anchor=south](12) ;
filldraw[fill=black!40,draw=black!80] (2,2) circle (2pt) node[anchor=east](132) ;
filldraw[fill=black!40,draw=black!80] (7,2) circle (2pt) node[anchor=west](123) ;
filldraw[fill=black!40,draw=black!80] (4.5,6) circle (2pt) node[anchor=west]e ;
endtikzpicture
endfigure
enddocument
I've also tried using "foreach" cycles, but it's a bit difficult with that, any ideas? Thank you.
graphs tikz-graphs
add a comment |
I would like to know if is there a way to optimize the code that I use to draw the next graph:
I do it using this:
documentclass[11pt]article
usepackagetikz
begindocument
beginfigure[h]
begintikzpicture[y=.5cm, x=.5cm,font=small]
draw [-latex](-1,0) -- (10,0);
draw [-latex](10,0) -- (4.5,9);
draw [-latex](4.5,9) -- (-1,0);
draw [-latex](2,2) -- (4.5,6);
draw [-latex](4.5,6) -- (7,2);
draw [-latex](7,2) -- (2,2);
draw [latex-latex,dashed](4.5,6) -- (4.5,9);
draw [latex-latex,dashed](-1,0) -- (2,2);
draw [latex-latex,dashed](10,0) -- (7,2);
filldraw[fill=black!40,draw=black!80] (-1,0) circle (2pt) node[anchor=east](23) ;
filldraw[fill=black!40,draw=black!80] (10,0) circle (2pt) node[anchor=west](13) ;
filldraw[fill=black!40,draw=black!80] (4.5,9) circle (2pt) node[anchor=south](12) ;
filldraw[fill=black!40,draw=black!80] (2,2) circle (2pt) node[anchor=east](132) ;
filldraw[fill=black!40,draw=black!80] (7,2) circle (2pt) node[anchor=west](123) ;
filldraw[fill=black!40,draw=black!80] (4.5,6) circle (2pt) node[anchor=west]e ;
endtikzpicture
endfigure
enddocument
I've also tried using "foreach" cycles, but it's a bit difficult with that, any ideas? Thank you.
graphs tikz-graphs
add a comment |
I would like to know if is there a way to optimize the code that I use to draw the next graph:
I do it using this:
documentclass[11pt]article
usepackagetikz
begindocument
beginfigure[h]
begintikzpicture[y=.5cm, x=.5cm,font=small]
draw [-latex](-1,0) -- (10,0);
draw [-latex](10,0) -- (4.5,9);
draw [-latex](4.5,9) -- (-1,0);
draw [-latex](2,2) -- (4.5,6);
draw [-latex](4.5,6) -- (7,2);
draw [-latex](7,2) -- (2,2);
draw [latex-latex,dashed](4.5,6) -- (4.5,9);
draw [latex-latex,dashed](-1,0) -- (2,2);
draw [latex-latex,dashed](10,0) -- (7,2);
filldraw[fill=black!40,draw=black!80] (-1,0) circle (2pt) node[anchor=east](23) ;
filldraw[fill=black!40,draw=black!80] (10,0) circle (2pt) node[anchor=west](13) ;
filldraw[fill=black!40,draw=black!80] (4.5,9) circle (2pt) node[anchor=south](12) ;
filldraw[fill=black!40,draw=black!80] (2,2) circle (2pt) node[anchor=east](132) ;
filldraw[fill=black!40,draw=black!80] (7,2) circle (2pt) node[anchor=west](123) ;
filldraw[fill=black!40,draw=black!80] (4.5,6) circle (2pt) node[anchor=west]e ;
endtikzpicture
endfigure
enddocument
I've also tried using "foreach" cycles, but it's a bit difficult with that, any ideas? Thank you.
graphs tikz-graphs
I would like to know if is there a way to optimize the code that I use to draw the next graph:
I do it using this:
documentclass[11pt]article
usepackagetikz
begindocument
beginfigure[h]
begintikzpicture[y=.5cm, x=.5cm,font=small]
draw [-latex](-1,0) -- (10,0);
draw [-latex](10,0) -- (4.5,9);
draw [-latex](4.5,9) -- (-1,0);
draw [-latex](2,2) -- (4.5,6);
draw [-latex](4.5,6) -- (7,2);
draw [-latex](7,2) -- (2,2);
draw [latex-latex,dashed](4.5,6) -- (4.5,9);
draw [latex-latex,dashed](-1,0) -- (2,2);
draw [latex-latex,dashed](10,0) -- (7,2);
filldraw[fill=black!40,draw=black!80] (-1,0) circle (2pt) node[anchor=east](23) ;
filldraw[fill=black!40,draw=black!80] (10,0) circle (2pt) node[anchor=west](13) ;
filldraw[fill=black!40,draw=black!80] (4.5,9) circle (2pt) node[anchor=south](12) ;
filldraw[fill=black!40,draw=black!80] (2,2) circle (2pt) node[anchor=east](132) ;
filldraw[fill=black!40,draw=black!80] (7,2) circle (2pt) node[anchor=west](123) ;
filldraw[fill=black!40,draw=black!80] (4.5,6) circle (2pt) node[anchor=west]e ;
endtikzpicture
endfigure
enddocument
I've also tried using "foreach" cycles, but it's a bit difficult with that, any ideas? Thank you.
graphs tikz-graphs
graphs tikz-graphs
asked 5 mins ago
J.RodriguezJ.Rodriguez
2376
2376
add a comment |
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485556%2fhow-to-draw-optimize-this-graph-with-tikz%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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485556%2fhow-to-draw-optimize-this-graph-with-tikz%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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