Making Linear Transformations Using Tikz The Next CEO of Stack OverflowDiagrams of natural transformations using tikzRepresenting general transformations on a 3D grid using TikZLinear transformation CoordinatesMaking lines intersect using TIKZcoordinates and transformationsIn what sense does PGF not keep track of canvas transformations?A matrix with breaking line and matrix transformationsThree dimensional linear transformations in LaTeX?making photo collage using tikzNon-linear coordinate transformations
Unreliable Magic - Is it worth it?
What can we do to stop prior company from asking us questions?
How can I quit an app using Terminal?
What is the point of a new vote on May's deal when the indicative votes suggest she will not win?
How do we know the LHC results are robust?
Is HostGator storing my password in plaintext?
What does this shorthand mean?
Text adventure game code
Fastest way to shutdown Ubuntu Mate 18.10
Only print output after finding pattern
Is it my responsibility to learn a new technology in my own time my employer wants to implement?
Why is there a PLL in CPU?
Where to find order of arguments for default functions
Why does standard notation not preserve intervals (visually)
Implement the Thanos sorting algorithm
How to use tikz in fbox?
Should I tutor a student who I know has cheated on their homework?
Why here is plural "We went to the movies last night."
Why do remote companies require working in the US?
Horror movie/show or scene where a horse creature opens its mouth really wide and devours a man in a stables
How to write papers efficiently when English isn't my first language?
Are there languages with no euphemisms?
Does it take more energy to get to Venus or to Mars?
Grabbing quick drinks
Making Linear Transformations Using Tikz
The Next CEO of Stack OverflowDiagrams of natural transformations using tikzRepresenting general transformations on a 3D grid using TikZLinear transformation CoordinatesMaking lines intersect using TIKZcoordinates and transformationsIn what sense does PGF not keep track of canvas transformations?A matrix with breaking line and matrix transformationsThree dimensional linear transformations in LaTeX?making photo collage using tikzNon-linear coordinate transformations
I am trying to create a visual for a linear transformation done by matrices. Here is an example of what I am shooting for:
I would like to have the original gridlines in place, but like faded out a bit, and the newly transformed gridlines more visible.
Here is my attempt using pgftransformcm
:
documentclassarticle
usepackageamsmath
usepackagexcolor
usepackagepgfplots
begindocument
begintikzpicture[scale=1,line width=1pt]
beginaxis[
color= black,
thick,
xmin=-3.9,
xmax=3.9,
ymin=-3.9,
ymax=3.9,
axis equal image,
axis lines=middle,
font=scriptsize,
xtick distance=1,
ytick distance=1,
inner axis line style=stealth-stealth,
xlabel = ,
ylabel = ,
grid=major,
ticks=none
]
endaxis
beginaxis[
color= blue,
thick,
xmin=-3.9,
xmax=3.9,
ymin=-3.9,
ymax=3.9,
axis equal image,
axis lines=middle,
font=scriptsize,
xtick distance=1,
ytick distance=1,
inner axis line style=stealth-stealth,
xlabel = ,
ylabel = ,
grid=major,
grid style=blue!50,
ticks=none
]
pgftransformcm1101pgfpoint00;
endaxis
endtikzpicture
enddocument
And here is my result:
I am very unfamiliar with pgftransformcm
, and so I am sure there is an easy fix to this that I am not seeing. It seems that for some reason the shifted gridlines are no longer centered at the origin when I use this command, which I do not want.
I also have used the axis
environment only because I am used to using it for making graphs with pgfplots
, and for me, having a coordinate system is much more desirable than using arbitrary points that you do without the environment (so for example, I would be able to draw a vector to the point (2,2) and know exactly where it would land). But that is just my personal preference, and if no solution is possible without removing the environment, then so be it.
I apologize if this seems like a long-winded question, but I have no idea how to approach this question. Any help would be appreciated!
tikz-pgf transformation
add a comment |
I am trying to create a visual for a linear transformation done by matrices. Here is an example of what I am shooting for:
I would like to have the original gridlines in place, but like faded out a bit, and the newly transformed gridlines more visible.
Here is my attempt using pgftransformcm
:
documentclassarticle
usepackageamsmath
usepackagexcolor
usepackagepgfplots
begindocument
begintikzpicture[scale=1,line width=1pt]
beginaxis[
color= black,
thick,
xmin=-3.9,
xmax=3.9,
ymin=-3.9,
ymax=3.9,
axis equal image,
axis lines=middle,
font=scriptsize,
xtick distance=1,
ytick distance=1,
inner axis line style=stealth-stealth,
xlabel = ,
ylabel = ,
grid=major,
ticks=none
]
endaxis
beginaxis[
color= blue,
thick,
xmin=-3.9,
xmax=3.9,
ymin=-3.9,
ymax=3.9,
axis equal image,
axis lines=middle,
font=scriptsize,
xtick distance=1,
ytick distance=1,
inner axis line style=stealth-stealth,
xlabel = ,
ylabel = ,
grid=major,
grid style=blue!50,
ticks=none
]
pgftransformcm1101pgfpoint00;
endaxis
endtikzpicture
enddocument
And here is my result:
I am very unfamiliar with pgftransformcm
, and so I am sure there is an easy fix to this that I am not seeing. It seems that for some reason the shifted gridlines are no longer centered at the origin when I use this command, which I do not want.
I also have used the axis
environment only because I am used to using it for making graphs with pgfplots
, and for me, having a coordinate system is much more desirable than using arbitrary points that you do without the environment (so for example, I would be able to draw a vector to the point (2,2) and know exactly where it would land). But that is just my personal preference, and if no solution is possible without removing the environment, then so be it.
I apologize if this seems like a long-winded question, but I have no idea how to approach this question. Any help would be appreciated!
tikz-pgf transformation
In most situations you do not need to use the low-level pgf commandpgftransformcm
but you can just work with TikZ syntax. In this situation a convenient choice may bebeginscope[x=(2,1),y=(-3,2)] ... endscope
.
– marmot
4 mins ago
add a comment |
I am trying to create a visual for a linear transformation done by matrices. Here is an example of what I am shooting for:
I would like to have the original gridlines in place, but like faded out a bit, and the newly transformed gridlines more visible.
Here is my attempt using pgftransformcm
:
documentclassarticle
usepackageamsmath
usepackagexcolor
usepackagepgfplots
begindocument
begintikzpicture[scale=1,line width=1pt]
beginaxis[
color= black,
thick,
xmin=-3.9,
xmax=3.9,
ymin=-3.9,
ymax=3.9,
axis equal image,
axis lines=middle,
font=scriptsize,
xtick distance=1,
ytick distance=1,
inner axis line style=stealth-stealth,
xlabel = ,
ylabel = ,
grid=major,
ticks=none
]
endaxis
beginaxis[
color= blue,
thick,
xmin=-3.9,
xmax=3.9,
ymin=-3.9,
ymax=3.9,
axis equal image,
axis lines=middle,
font=scriptsize,
xtick distance=1,
ytick distance=1,
inner axis line style=stealth-stealth,
xlabel = ,
ylabel = ,
grid=major,
grid style=blue!50,
ticks=none
]
pgftransformcm1101pgfpoint00;
endaxis
endtikzpicture
enddocument
And here is my result:
I am very unfamiliar with pgftransformcm
, and so I am sure there is an easy fix to this that I am not seeing. It seems that for some reason the shifted gridlines are no longer centered at the origin when I use this command, which I do not want.
I also have used the axis
environment only because I am used to using it for making graphs with pgfplots
, and for me, having a coordinate system is much more desirable than using arbitrary points that you do without the environment (so for example, I would be able to draw a vector to the point (2,2) and know exactly where it would land). But that is just my personal preference, and if no solution is possible without removing the environment, then so be it.
I apologize if this seems like a long-winded question, but I have no idea how to approach this question. Any help would be appreciated!
tikz-pgf transformation
I am trying to create a visual for a linear transformation done by matrices. Here is an example of what I am shooting for:
I would like to have the original gridlines in place, but like faded out a bit, and the newly transformed gridlines more visible.
Here is my attempt using pgftransformcm
:
documentclassarticle
usepackageamsmath
usepackagexcolor
usepackagepgfplots
begindocument
begintikzpicture[scale=1,line width=1pt]
beginaxis[
color= black,
thick,
xmin=-3.9,
xmax=3.9,
ymin=-3.9,
ymax=3.9,
axis equal image,
axis lines=middle,
font=scriptsize,
xtick distance=1,
ytick distance=1,
inner axis line style=stealth-stealth,
xlabel = ,
ylabel = ,
grid=major,
ticks=none
]
endaxis
beginaxis[
color= blue,
thick,
xmin=-3.9,
xmax=3.9,
ymin=-3.9,
ymax=3.9,
axis equal image,
axis lines=middle,
font=scriptsize,
xtick distance=1,
ytick distance=1,
inner axis line style=stealth-stealth,
xlabel = ,
ylabel = ,
grid=major,
grid style=blue!50,
ticks=none
]
pgftransformcm1101pgfpoint00;
endaxis
endtikzpicture
enddocument
And here is my result:
I am very unfamiliar with pgftransformcm
, and so I am sure there is an easy fix to this that I am not seeing. It seems that for some reason the shifted gridlines are no longer centered at the origin when I use this command, which I do not want.
I also have used the axis
environment only because I am used to using it for making graphs with pgfplots
, and for me, having a coordinate system is much more desirable than using arbitrary points that you do without the environment (so for example, I would be able to draw a vector to the point (2,2) and know exactly where it would land). But that is just my personal preference, and if no solution is possible without removing the environment, then so be it.
I apologize if this seems like a long-winded question, but I have no idea how to approach this question. Any help would be appreciated!
tikz-pgf transformation
tikz-pgf transformation
asked 10 mins ago
Aiden KennyAiden Kenny
4487
4487
In most situations you do not need to use the low-level pgf commandpgftransformcm
but you can just work with TikZ syntax. In this situation a convenient choice may bebeginscope[x=(2,1),y=(-3,2)] ... endscope
.
– marmot
4 mins ago
add a comment |
In most situations you do not need to use the low-level pgf commandpgftransformcm
but you can just work with TikZ syntax. In this situation a convenient choice may bebeginscope[x=(2,1),y=(-3,2)] ... endscope
.
– marmot
4 mins ago
In most situations you do not need to use the low-level pgf command
pgftransformcm
but you can just work with TikZ syntax. In this situation a convenient choice may be beginscope[x=(2,1),y=(-3,2)] ... endscope
.– marmot
4 mins ago
In most situations you do not need to use the low-level pgf command
pgftransformcm
but you can just work with TikZ syntax. In this situation a convenient choice may be beginscope[x=(2,1),y=(-3,2)] ... endscope
.– marmot
4 mins ago
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2f482004%2fmaking-linear-transformations-using-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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2f482004%2fmaking-linear-transformations-using-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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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
In most situations you do not need to use the low-level pgf command
pgftransformcm
but you can just work with TikZ syntax. In this situation a convenient choice may bebeginscope[x=(2,1),y=(-3,2)] ... endscope
.– marmot
4 mins ago