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










1















I am trying to create a visual for a linear transformation done by matrices. Here is an example of what I am shooting for:



enter image description here



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:



enter image description here



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!










share|improve this question






















  • 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















1















I am trying to create a visual for a linear transformation done by matrices. Here is an example of what I am shooting for:



enter image description here



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:



enter image description here



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!










share|improve this question






















  • 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













1












1








1








I am trying to create a visual for a linear transformation done by matrices. Here is an example of what I am shooting for:



enter image description here



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:



enter image description here



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!










share|improve this question














I am trying to create a visual for a linear transformation done by matrices. Here is an example of what I am shooting for:



enter image description here



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:



enter image description here



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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 10 mins ago









Aiden KennyAiden Kenny

4487




4487












  • 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
















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










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%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















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%2f482004%2fmaking-linear-transformations-using-tikz%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

How should I use the fbox command correctly to avoid producing a Bad Box message?How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?

Doxepinum Nexus interni Notae | Tabula navigationis3158DB01142WHOa682390"Structural Analysis of the Histamine H1 Receptor""Transdermal and Topical Drug Administration in the Treatment of Pain""Antidepressants as antipruritic agents: A review"

Haugesund Nexus externi | Tabula navigationisHaugesund pagina interretialisAmplifica