Group Abstract Group Abstract

Message Boards Message Boards

0
|
2.2K Views
|
3 Replies
|
3 Total Likes
View groups...
Share
Share this post:

Applying transformation to the plot as well as the GridLines?

Posted 2 years ago
POSTED BY: Jon Joseph
3 Replies

Here is an attempt with FullGraphics, a very old function:

fg = FullGraphics[Plot[x, {x, -1, 1},
    GridLines -> Automatic]]
Graphics[GeometricTransformation[fg[[1]],
  ShearingTransform[Pi/4, {1, 0}, {0, 1}]]]
POSTED BY: Gianluca Gorni
Posted 2 years ago

Try this:

p = Plot[x, {x, -1, 1}, GridLines -> Automatic];

ImageForwardTransformation[p,ShearingTransform[Pi/4,{1,0},{0,1}],PlotRange->All]

enter image description here

POSTED BY: Hans Milton
Posted 2 years ago

Thanks to both. Never heard of either of those functions.

POSTED BY: Jon Joseph
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard