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)
Ways you can end up paying interest on a credit card if you pay the full amount back in due time
D Scale Question
Can a human variant take proficiency in initiative?
Given a specific computer system, is it possible to estimate the actual precise run time of a piece of Assembly code
Why do we need explainable AI?
How can I modify a line which contains 2nd occurence of a string?
Is it good practice to speed up and slow down where not written in a song?
Are there consequences for not filing a DMCA (any country)
Inserting command output into multiline string
Can a system of three stars exist?
Turn off Google Chrome's Notification for "Flash Player will no longer be supported after December 2020."
Replace a motion-sensor/timer with simple single pole switch
Why do fuses burn at a specific current?
Is torque as fundamental a concept as force?
How to use a tikzpicture as a node shape
How would a disabled person earn their living in a medieval-type town?
garage light with two hots and one neutral
Displaying Time in HH:MM Format
Visiting girlfriend in the USA
Is Borg adaptation only temporary?
In Toy Story, are toys the only inanimate objects that become alive? And if so, why?
Punishment in pacifist society
Received email from ISP saying one of my devices has malware
Datasets of Large Molecules
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
8 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 9 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
8 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
8 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
8 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
8 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 7 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
8 hours ago