extending lines in 3d graphHow to draw inside a TikZ node, using node style?Make tikzpicture white on blackUse of overlay command in a graphTikZ: Drawing an arc from an intersection to an intersectionRelative transparency in TikZ?Line up nested tikz enviroments or how to get rid of themtikz and pgfdeclareshape why the text is not at the center anchor?How to draw a vector in a 3D spaceAutomatically find which nodes are closest, to aid drawing lines within a TikZ matrixTikz image within a defined box (& the textpos package)
garage light with two hots and one neutral
Quick Slitherlink Puzzles: KPK and 123
Why do we need explainable AI?
How can I modify a line which contains 2nd occurence of a string?
extending lines in 3d graph
Why wasn't Linda Hamilton in T3?
If the government illegally doesn't ask for article 50 extension, can parliament do it instead?
German equivalent to "going down the rabbit hole"
How do I get my neighbour to stop disturbing with loud music?
Why are direct proofs often considered better than indirect proofs?
Received email from ISP saying one of my devices has malware
What are the French equivalents of "blow away the cobwebs"?
meaning of "educating the ice"?
How to have the "Restore Missing Files" function from Nautilus without installing Nautilus?
Is it good practice to speed up and slow down where not written in a song?
Am I required to correct my opponent's assumptions about my morph creatures?
When do we use "no women" instead of "no woman"?
Turn off Google Chrome's Notification for "Flash Player will no longer be supported after December 2020."
If you can't target a creature without a clear path, does that mean Scrying fails unless you can already see the target?
Function of the separated, individual solar cells on Telstar 1 and 2? Why were they "special"?
Why do modes sound so different, although they are basically the same as a mode of another scale?
In Toy Story, are toys the only inanimate objects that become alive? And if so, why?
What is the motivation behind designing a control stick that does not move?
Replace a motion-sensor/timer with simple single pole switch
extending lines in 3d graph
How to draw inside a TikZ node, using node style?Make tikzpicture white on blackUse of overlay command in a graphTikZ: Drawing an arc from an intersection to an intersectionRelative transparency in TikZ?Line up nested tikz enviroments or how to get rid of themtikz and pgfdeclareshape why the text is not at the center anchor?How to draw a vector in a 3D spaceAutomatically find which nodes are closest, to aid drawing lines within a TikZ matrixTikz image within a defined box (& the textpos package)
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
How can I extend the two lines I have through this 3d graph? Kind of like this picture, where the red lines would be dotted lines showing the line going through the two points. I thought I could simply multiply both values by a scalar vector, but it didn't work.
documentclassarticle
usepackage[margin=1in]geometry
usepackagetikz, tikz-3dplot
usepackageamsmath
begindocument
tdplotsetmaincoords75135
begintikzpicture [scale=1.1, tdplot_main_coords, axis/.style=->,black,thick,
vector/.style=-stealth,black,very thick,
vector guide/.style=dashed,black,thick]
%standard tikz coordinate definition using x, y, z coords
coordinate (origin) at (0,0,0);
coordinate (a) at (-3,0,1);
coordinate (b) at (0,1,2);
coordinate (c) at (2,-1,1);
coordinate (d) at (1,2,0);
%draw axes
draw[axis] (0,0,0) -- (4,0,0) node[anchor=north east]$x$;
draw[axis] (0,0,0) -- (0,4,0) node[anchor=north west]$y$;
draw[axis] (0,0,0) -- (0,0,4) node[anchor=south]$z$;
% Draw two points
draw[fill=black] (a) circle[radius=2pt] node[anchor=north west]$a=(-3,0,1)$;
draw[fill=black] (b) circle[radius=2pt] node[anchor=south west]$b=(0,1,2)$;
draw[fill=black] (c) circle[radius=2pt] node[anchor=south]$c=(2,-1,1)$;
draw[fill=black] (d) circle[radius=2pt] node[anchor=north]$d=(1,2,0)$;
%draw guide lines to components
draw[vector guide] (origin) -- (a);
draw[vector guide] (origin) -- (b);
draw[vector guide] (origin) -- (c);
draw[vector guide] (origin) -- (d);
% Draw parametric lines
draw[line width=1pt] (a) -- (b) node[yshift=0.5cm, anchor=south]$ta + b$;
draw[line width=1pt] (c) -- (d) node[yshift=0.5cm, anchor=south]$tc + d$;
endtikzpicture
enddocument
tikz-pgf
add a comment |
How can I extend the two lines I have through this 3d graph? Kind of like this picture, where the red lines would be dotted lines showing the line going through the two points. I thought I could simply multiply both values by a scalar vector, but it didn't work.
documentclassarticle
usepackage[margin=1in]geometry
usepackagetikz, tikz-3dplot
usepackageamsmath
begindocument
tdplotsetmaincoords75135
begintikzpicture [scale=1.1, tdplot_main_coords, axis/.style=->,black,thick,
vector/.style=-stealth,black,very thick,
vector guide/.style=dashed,black,thick]
%standard tikz coordinate definition using x, y, z coords
coordinate (origin) at (0,0,0);
coordinate (a) at (-3,0,1);
coordinate (b) at (0,1,2);
coordinate (c) at (2,-1,1);
coordinate (d) at (1,2,0);
%draw axes
draw[axis] (0,0,0) -- (4,0,0) node[anchor=north east]$x$;
draw[axis] (0,0,0) -- (0,4,0) node[anchor=north west]$y$;
draw[axis] (0,0,0) -- (0,0,4) node[anchor=south]$z$;
% Draw two points
draw[fill=black] (a) circle[radius=2pt] node[anchor=north west]$a=(-3,0,1)$;
draw[fill=black] (b) circle[radius=2pt] node[anchor=south west]$b=(0,1,2)$;
draw[fill=black] (c) circle[radius=2pt] node[anchor=south]$c=(2,-1,1)$;
draw[fill=black] (d) circle[radius=2pt] node[anchor=north]$d=(1,2,0)$;
%draw guide lines to components
draw[vector guide] (origin) -- (a);
draw[vector guide] (origin) -- (b);
draw[vector guide] (origin) -- (c);
draw[vector guide] (origin) -- (d);
% Draw parametric lines
draw[line width=1pt] (a) -- (b) node[yshift=0.5cm, anchor=south]$ta + b$;
draw[line width=1pt] (c) -- (d) node[yshift=0.5cm, anchor=south]$tc + d$;
endtikzpicture
enddocument
tikz-pgf
The continuation of a line in 3D is still a line, so you can make the lines longer with’shorten=<something negative>’.
– Schrödinger's cat
7 hours ago
add a comment |
How can I extend the two lines I have through this 3d graph? Kind of like this picture, where the red lines would be dotted lines showing the line going through the two points. I thought I could simply multiply both values by a scalar vector, but it didn't work.
documentclassarticle
usepackage[margin=1in]geometry
usepackagetikz, tikz-3dplot
usepackageamsmath
begindocument
tdplotsetmaincoords75135
begintikzpicture [scale=1.1, tdplot_main_coords, axis/.style=->,black,thick,
vector/.style=-stealth,black,very thick,
vector guide/.style=dashed,black,thick]
%standard tikz coordinate definition using x, y, z coords
coordinate (origin) at (0,0,0);
coordinate (a) at (-3,0,1);
coordinate (b) at (0,1,2);
coordinate (c) at (2,-1,1);
coordinate (d) at (1,2,0);
%draw axes
draw[axis] (0,0,0) -- (4,0,0) node[anchor=north east]$x$;
draw[axis] (0,0,0) -- (0,4,0) node[anchor=north west]$y$;
draw[axis] (0,0,0) -- (0,0,4) node[anchor=south]$z$;
% Draw two points
draw[fill=black] (a) circle[radius=2pt] node[anchor=north west]$a=(-3,0,1)$;
draw[fill=black] (b) circle[radius=2pt] node[anchor=south west]$b=(0,1,2)$;
draw[fill=black] (c) circle[radius=2pt] node[anchor=south]$c=(2,-1,1)$;
draw[fill=black] (d) circle[radius=2pt] node[anchor=north]$d=(1,2,0)$;
%draw guide lines to components
draw[vector guide] (origin) -- (a);
draw[vector guide] (origin) -- (b);
draw[vector guide] (origin) -- (c);
draw[vector guide] (origin) -- (d);
% Draw parametric lines
draw[line width=1pt] (a) -- (b) node[yshift=0.5cm, anchor=south]$ta + b$;
draw[line width=1pt] (c) -- (d) node[yshift=0.5cm, anchor=south]$tc + d$;
endtikzpicture
enddocument
tikz-pgf
How can I extend the two lines I have through this 3d graph? Kind of like this picture, where the red lines would be dotted lines showing the line going through the two points. I thought I could simply multiply both values by a scalar vector, but it didn't work.
documentclassarticle
usepackage[margin=1in]geometry
usepackagetikz, tikz-3dplot
usepackageamsmath
begindocument
tdplotsetmaincoords75135
begintikzpicture [scale=1.1, tdplot_main_coords, axis/.style=->,black,thick,
vector/.style=-stealth,black,very thick,
vector guide/.style=dashed,black,thick]
%standard tikz coordinate definition using x, y, z coords
coordinate (origin) at (0,0,0);
coordinate (a) at (-3,0,1);
coordinate (b) at (0,1,2);
coordinate (c) at (2,-1,1);
coordinate (d) at (1,2,0);
%draw axes
draw[axis] (0,0,0) -- (4,0,0) node[anchor=north east]$x$;
draw[axis] (0,0,0) -- (0,4,0) node[anchor=north west]$y$;
draw[axis] (0,0,0) -- (0,0,4) node[anchor=south]$z$;
% Draw two points
draw[fill=black] (a) circle[radius=2pt] node[anchor=north west]$a=(-3,0,1)$;
draw[fill=black] (b) circle[radius=2pt] node[anchor=south west]$b=(0,1,2)$;
draw[fill=black] (c) circle[radius=2pt] node[anchor=south]$c=(2,-1,1)$;
draw[fill=black] (d) circle[radius=2pt] node[anchor=north]$d=(1,2,0)$;
%draw guide lines to components
draw[vector guide] (origin) -- (a);
draw[vector guide] (origin) -- (b);
draw[vector guide] (origin) -- (c);
draw[vector guide] (origin) -- (d);
% Draw parametric lines
draw[line width=1pt] (a) -- (b) node[yshift=0.5cm, anchor=south]$ta + b$;
draw[line width=1pt] (c) -- (d) node[yshift=0.5cm, anchor=south]$tc + d$;
endtikzpicture
enddocument
tikz-pgf
tikz-pgf
asked 8 hours ago
Evan KimEvan Kim
2245 bronze badges
2245 bronze badges
The continuation of a line in 3D is still a line, so you can make the lines longer with’shorten=<something negative>’.
– Schrödinger's cat
7 hours ago
add a comment |
The continuation of a line in 3D is still a line, so you can make the lines longer with’shorten=<something negative>’.
– Schrödinger's cat
7 hours ago
The continuation of a line in 3D is still a line, so you can make the lines longer with’shorten=<something negative>’.
– Schrödinger's cat
7 hours ago
The continuation of a line in 3D is still a line, so you can make the lines longer with’shorten=<something negative>’.
– Schrödinger's cat
7 hours ago
add a comment |
1 Answer
1
active
oldest
votes
You can add a some multiple of vectors using the calc
library, which gets auto-loaded with tikz-3dplot
. E.g.
draw (c) -- ($(c)+0.5*($(c)-(d)$)$);
draws from c
to c
plus 0.5 times c-d
. This and further examples are contained in
documentclassarticle
usepackage[margin=1in]geometry
usepackagetikz, tikz-3dplot
usepackageamsmath
begindocument
tdplotsetmaincoords75135
begintikzpicture[scale=1.1, tdplot_main_coords, axis/.style=->,black,thick,
vector/.style=-stealth,black,very thick,
vector guide/.style=dashed,black,thick,
vector extension/.style=densely dashed,red,-stealth]
%standard tikz coordinate definition using x, y, z coords
coordinate (origin) at (0,0,0);
coordinate (a) at (-3,0,1);
coordinate (b) at (0,1,2);
coordinate (c) at (2,-1,1);
coordinate (d) at (1,2,0);
draw[vector extension] (c) -- ($(c)+0.5*($(c)-(d)$)$);
draw[vector extension] (d) -- ($(d)+0.5*($(d)-(c)$)$);
draw[vector extension] (a) -- ($(a)+0.5*($(a)-(b)$)$);
draw[vector extension] (b) -- ($(b)+0.5*($(b)-(a)$)$);
%draw axes
draw[axis] (0,0,0) -- (4,0,0) node[anchor=north east]$x$;
draw[axis] (0,0,0) -- (0,4,0) node[anchor=north west]$y$;
draw[axis] (0,0,0) -- (0,0,4) node[anchor=south]$z$;
% Draw two points
draw[fill=black] (a) circle[radius=2pt] node[anchor=north west]$a=(-3,0,1)$;
draw[fill=black] (b) circle[radius=2pt] node[anchor=south west]$b=(0,1,2)$;
draw[fill=black] (c) circle[radius=2pt] node[anchor=south]$c=(2,-1,1)$;
draw[fill=black] (d) circle[radius=2pt] node[anchor=north]$d=(1,2,0)$;
%draw guide lines to components
draw[vector guide] (origin) -- (a);
draw[vector guide] (origin) -- (b);
draw[vector guide] (origin) -- (c);
draw[vector guide] (origin) -- (d);
% Draw parametric lines
draw[line width=1pt] (a) -- (b) node[yshift=0.5cm, anchor=south]$ta + b$;
draw[line width=1pt] (c) -- (d) node[yshift=0.5cm, anchor=south]$tc + d$;
endtikzpicture
enddocument
add a comment |
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%2f506605%2fextending-lines-in-3d-graph%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can add a some multiple of vectors using the calc
library, which gets auto-loaded with tikz-3dplot
. E.g.
draw (c) -- ($(c)+0.5*($(c)-(d)$)$);
draws from c
to c
plus 0.5 times c-d
. This and further examples are contained in
documentclassarticle
usepackage[margin=1in]geometry
usepackagetikz, tikz-3dplot
usepackageamsmath
begindocument
tdplotsetmaincoords75135
begintikzpicture[scale=1.1, tdplot_main_coords, axis/.style=->,black,thick,
vector/.style=-stealth,black,very thick,
vector guide/.style=dashed,black,thick,
vector extension/.style=densely dashed,red,-stealth]
%standard tikz coordinate definition using x, y, z coords
coordinate (origin) at (0,0,0);
coordinate (a) at (-3,0,1);
coordinate (b) at (0,1,2);
coordinate (c) at (2,-1,1);
coordinate (d) at (1,2,0);
draw[vector extension] (c) -- ($(c)+0.5*($(c)-(d)$)$);
draw[vector extension] (d) -- ($(d)+0.5*($(d)-(c)$)$);
draw[vector extension] (a) -- ($(a)+0.5*($(a)-(b)$)$);
draw[vector extension] (b) -- ($(b)+0.5*($(b)-(a)$)$);
%draw axes
draw[axis] (0,0,0) -- (4,0,0) node[anchor=north east]$x$;
draw[axis] (0,0,0) -- (0,4,0) node[anchor=north west]$y$;
draw[axis] (0,0,0) -- (0,0,4) node[anchor=south]$z$;
% Draw two points
draw[fill=black] (a) circle[radius=2pt] node[anchor=north west]$a=(-3,0,1)$;
draw[fill=black] (b) circle[radius=2pt] node[anchor=south west]$b=(0,1,2)$;
draw[fill=black] (c) circle[radius=2pt] node[anchor=south]$c=(2,-1,1)$;
draw[fill=black] (d) circle[radius=2pt] node[anchor=north]$d=(1,2,0)$;
%draw guide lines to components
draw[vector guide] (origin) -- (a);
draw[vector guide] (origin) -- (b);
draw[vector guide] (origin) -- (c);
draw[vector guide] (origin) -- (d);
% Draw parametric lines
draw[line width=1pt] (a) -- (b) node[yshift=0.5cm, anchor=south]$ta + b$;
draw[line width=1pt] (c) -- (d) node[yshift=0.5cm, anchor=south]$tc + d$;
endtikzpicture
enddocument
add a comment |
You can add a some multiple of vectors using the calc
library, which gets auto-loaded with tikz-3dplot
. E.g.
draw (c) -- ($(c)+0.5*($(c)-(d)$)$);
draws from c
to c
plus 0.5 times c-d
. This and further examples are contained in
documentclassarticle
usepackage[margin=1in]geometry
usepackagetikz, tikz-3dplot
usepackageamsmath
begindocument
tdplotsetmaincoords75135
begintikzpicture[scale=1.1, tdplot_main_coords, axis/.style=->,black,thick,
vector/.style=-stealth,black,very thick,
vector guide/.style=dashed,black,thick,
vector extension/.style=densely dashed,red,-stealth]
%standard tikz coordinate definition using x, y, z coords
coordinate (origin) at (0,0,0);
coordinate (a) at (-3,0,1);
coordinate (b) at (0,1,2);
coordinate (c) at (2,-1,1);
coordinate (d) at (1,2,0);
draw[vector extension] (c) -- ($(c)+0.5*($(c)-(d)$)$);
draw[vector extension] (d) -- ($(d)+0.5*($(d)-(c)$)$);
draw[vector extension] (a) -- ($(a)+0.5*($(a)-(b)$)$);
draw[vector extension] (b) -- ($(b)+0.5*($(b)-(a)$)$);
%draw axes
draw[axis] (0,0,0) -- (4,0,0) node[anchor=north east]$x$;
draw[axis] (0,0,0) -- (0,4,0) node[anchor=north west]$y$;
draw[axis] (0,0,0) -- (0,0,4) node[anchor=south]$z$;
% Draw two points
draw[fill=black] (a) circle[radius=2pt] node[anchor=north west]$a=(-3,0,1)$;
draw[fill=black] (b) circle[radius=2pt] node[anchor=south west]$b=(0,1,2)$;
draw[fill=black] (c) circle[radius=2pt] node[anchor=south]$c=(2,-1,1)$;
draw[fill=black] (d) circle[radius=2pt] node[anchor=north]$d=(1,2,0)$;
%draw guide lines to components
draw[vector guide] (origin) -- (a);
draw[vector guide] (origin) -- (b);
draw[vector guide] (origin) -- (c);
draw[vector guide] (origin) -- (d);
% Draw parametric lines
draw[line width=1pt] (a) -- (b) node[yshift=0.5cm, anchor=south]$ta + b$;
draw[line width=1pt] (c) -- (d) node[yshift=0.5cm, anchor=south]$tc + d$;
endtikzpicture
enddocument
add a comment |
You can add a some multiple of vectors using the calc
library, which gets auto-loaded with tikz-3dplot
. E.g.
draw (c) -- ($(c)+0.5*($(c)-(d)$)$);
draws from c
to c
plus 0.5 times c-d
. This and further examples are contained in
documentclassarticle
usepackage[margin=1in]geometry
usepackagetikz, tikz-3dplot
usepackageamsmath
begindocument
tdplotsetmaincoords75135
begintikzpicture[scale=1.1, tdplot_main_coords, axis/.style=->,black,thick,
vector/.style=-stealth,black,very thick,
vector guide/.style=dashed,black,thick,
vector extension/.style=densely dashed,red,-stealth]
%standard tikz coordinate definition using x, y, z coords
coordinate (origin) at (0,0,0);
coordinate (a) at (-3,0,1);
coordinate (b) at (0,1,2);
coordinate (c) at (2,-1,1);
coordinate (d) at (1,2,0);
draw[vector extension] (c) -- ($(c)+0.5*($(c)-(d)$)$);
draw[vector extension] (d) -- ($(d)+0.5*($(d)-(c)$)$);
draw[vector extension] (a) -- ($(a)+0.5*($(a)-(b)$)$);
draw[vector extension] (b) -- ($(b)+0.5*($(b)-(a)$)$);
%draw axes
draw[axis] (0,0,0) -- (4,0,0) node[anchor=north east]$x$;
draw[axis] (0,0,0) -- (0,4,0) node[anchor=north west]$y$;
draw[axis] (0,0,0) -- (0,0,4) node[anchor=south]$z$;
% Draw two points
draw[fill=black] (a) circle[radius=2pt] node[anchor=north west]$a=(-3,0,1)$;
draw[fill=black] (b) circle[radius=2pt] node[anchor=south west]$b=(0,1,2)$;
draw[fill=black] (c) circle[radius=2pt] node[anchor=south]$c=(2,-1,1)$;
draw[fill=black] (d) circle[radius=2pt] node[anchor=north]$d=(1,2,0)$;
%draw guide lines to components
draw[vector guide] (origin) -- (a);
draw[vector guide] (origin) -- (b);
draw[vector guide] (origin) -- (c);
draw[vector guide] (origin) -- (d);
% Draw parametric lines
draw[line width=1pt] (a) -- (b) node[yshift=0.5cm, anchor=south]$ta + b$;
draw[line width=1pt] (c) -- (d) node[yshift=0.5cm, anchor=south]$tc + d$;
endtikzpicture
enddocument
You can add a some multiple of vectors using the calc
library, which gets auto-loaded with tikz-3dplot
. E.g.
draw (c) -- ($(c)+0.5*($(c)-(d)$)$);
draws from c
to c
plus 0.5 times c-d
. This and further examples are contained in
documentclassarticle
usepackage[margin=1in]geometry
usepackagetikz, tikz-3dplot
usepackageamsmath
begindocument
tdplotsetmaincoords75135
begintikzpicture[scale=1.1, tdplot_main_coords, axis/.style=->,black,thick,
vector/.style=-stealth,black,very thick,
vector guide/.style=dashed,black,thick,
vector extension/.style=densely dashed,red,-stealth]
%standard tikz coordinate definition using x, y, z coords
coordinate (origin) at (0,0,0);
coordinate (a) at (-3,0,1);
coordinate (b) at (0,1,2);
coordinate (c) at (2,-1,1);
coordinate (d) at (1,2,0);
draw[vector extension] (c) -- ($(c)+0.5*($(c)-(d)$)$);
draw[vector extension] (d) -- ($(d)+0.5*($(d)-(c)$)$);
draw[vector extension] (a) -- ($(a)+0.5*($(a)-(b)$)$);
draw[vector extension] (b) -- ($(b)+0.5*($(b)-(a)$)$);
%draw axes
draw[axis] (0,0,0) -- (4,0,0) node[anchor=north east]$x$;
draw[axis] (0,0,0) -- (0,4,0) node[anchor=north west]$y$;
draw[axis] (0,0,0) -- (0,0,4) node[anchor=south]$z$;
% Draw two points
draw[fill=black] (a) circle[radius=2pt] node[anchor=north west]$a=(-3,0,1)$;
draw[fill=black] (b) circle[radius=2pt] node[anchor=south west]$b=(0,1,2)$;
draw[fill=black] (c) circle[radius=2pt] node[anchor=south]$c=(2,-1,1)$;
draw[fill=black] (d) circle[radius=2pt] node[anchor=north]$d=(1,2,0)$;
%draw guide lines to components
draw[vector guide] (origin) -- (a);
draw[vector guide] (origin) -- (b);
draw[vector guide] (origin) -- (c);
draw[vector guide] (origin) -- (d);
% Draw parametric lines
draw[line width=1pt] (a) -- (b) node[yshift=0.5cm, anchor=south]$ta + b$;
draw[line width=1pt] (c) -- (d) node[yshift=0.5cm, anchor=south]$tc + d$;
endtikzpicture
enddocument
answered 6 hours ago
Schrödinger's catSchrödinger's cat
3,9316 silver badges16 bronze badges
3,9316 silver badges16 bronze badges
add a comment |
add a comment |
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%2f506605%2fextending-lines-in-3d-graph%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
The continuation of a line in 3D is still a line, so you can make the lines longer with’shorten=<something negative>’.
– Schrödinger's cat
7 hours ago