Timeline for Using an Image as the Fill/Texture (not background) of a Plot (not polygon)
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 6, 2014 at 20:59 | vote | accept | iwantmyphd | ||
Oct 6, 2014 at 20:59 | vote | accept | iwantmyphd | ||
Oct 6, 2014 at 20:59 | |||||
Oct 5, 2014 at 18:18 | history | edited | Jens | CC BY-SA 3.0 |
Second answer due to misunderstanding
|
Oct 5, 2014 at 17:53 | comment | added | Jens | I thought your main goal was to show the image only under part of the curve, like the colored regions in the sine plot you showed. If not, things are much easier (see other answers). To make the image fit the entire plot, you of course have to make sure that the aspect ratio of image and plot are identical. This could be done (a) by stretching the image, (b) by choosing an image with the right aspect ratio, or (c) by setting the aspect ratio of the plot equal to that of the image. You'd have to decide first which of these options you want. I mention option (a) in my answer. | |
Oct 5, 2014 at 6:14 | comment | added | iwantmyphd | Not sure I follow why you only have the image in the center 1/3 of the graph.... how would you make it fill the entire area under the curve? | |
Oct 5, 2014 at 5:32 | history | answered | Jens | CC BY-SA 3.0 |