Making Linear Transformations Using Tikz The Next CEO of Stack Overflow

'Given that' in a matrix

How to make a software documentation "officially" citable?

How to make a variable always equal to the result of some calculations?

How to write the block matrix in LaTex?

Removing read access from a file

Why is Miller's case titled R (Miller)?

A pseudo-riley?

Apart from "berlinern", do any other German dialects have a corresponding verb?

How to Reset Passwords on Multiple Websites Easily?

Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?

How to use tikz in fbox?

Why does GHC infer a monomorphic type here, even with MonomorphismRestriction disabled?

How do I solve this limit?

Fastest way to shutdown Ubuntu Mate 18.10

How can I open an app using Terminal?

Text adventure game code

Visit to the USA with ESTA approved before trip to Iran

Why were Madagascar and New Zealand discovered so late?

What makes a siege story/plot interesting?

What does this shorthand mean?

Why is there a PLL in CPU?

What is the point of a new vote on May's deal when the indicative votes suggest she will not win?

Explicit solution of a Hamiltonian system

What does "Its cash flow is deeply negative" mean?



Making Linear Transformations Using Tikz



The Next CEO of Stack Overflow












0















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:



documentclass{article}
usepackage{amsmath}
usepackage{xcolor}
usepackage{pgfplots}

begin{document}

begin{tikzpicture}[scale=1,line width=1pt]

begin{axis}[
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
]

end{axis}

begin{axis}[
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
]

pgftransformcm{1}{1}{0}{1}{pgfpoint{0}{0}};

end{axis}

end{tikzpicture}

end{document}


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



























    0















    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:



    documentclass{article}
    usepackage{amsmath}
    usepackage{xcolor}
    usepackage{pgfplots}

    begin{document}

    begin{tikzpicture}[scale=1,line width=1pt]

    begin{axis}[
    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
    ]

    end{axis}

    begin{axis}[
    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
    ]

    pgftransformcm{1}{1}{0}{1}{pgfpoint{0}{0}};

    end{axis}

    end{tikzpicture}

    end{document}


    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

























      0












      0








      0








      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:



      documentclass{article}
      usepackage{amsmath}
      usepackage{xcolor}
      usepackage{pgfplots}

      begin{document}

      begin{tikzpicture}[scale=1,line width=1pt]

      begin{axis}[
      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
      ]

      end{axis}

      begin{axis}[
      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
      ]

      pgftransformcm{1}{1}{0}{1}{pgfpoint{0}{0}};

      end{axis}

      end{tikzpicture}

      end{document}


      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














      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:



      documentclass{article}
      usepackage{amsmath}
      usepackage{xcolor}
      usepackage{pgfplots}

      begin{document}

      begin{tikzpicture}[scale=1,line width=1pt]

      begin{axis}[
      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
      ]

      end{axis}

      begin{axis}[
      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
      ]

      pgftransformcm{1}{1}{0}{1}{pgfpoint{0}{0}};

      end{axis}

      end{tikzpicture}

      end{document}


      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












      share










      share



      share










      asked 1 min ago









      Aiden KennyAiden Kenny

      4437




      4437






















          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

          Installing LyX: “No textclass is found.”LyX installation error- text class not found- 'Reconfigure' or...

          (1602) Indiana Índice Designación y nombre Características orbitales Véase...

          Universidad Autónoma de Occidente Índice Historia Campus Facultades Programas Académicos Medios de...