- #1
Hepth
Gold Member
- 464
- 40
I wish to create, in Mathematica, an image.
I have a set of lines, for the sake of a test, let's use:
{{10,0},{40,100}}
{{20,0},{80,100}}
Now I want my image to be 400x100 pixels, and the lines to appear as if their coordinates are those of the points in the image. If I do:
Graphics[Line[{{{10, 0}, {40, 100}}, {{20, 0}, {80, 100}}}],
ImageSize -> {400, 100}, AlignmentPoint -> {Left, Bottom}]
It doesn't work. Any help? The lines should be on the left side of the picture.
I have a set of lines, for the sake of a test, let's use:
{{10,0},{40,100}}
{{20,0},{80,100}}
Now I want my image to be 400x100 pixels, and the lines to appear as if their coordinates are those of the points in the image. If I do:
Graphics[Line[{{{10, 0}, {40, 100}}, {{20, 0}, {80, 100}}}],
ImageSize -> {400, 100}, AlignmentPoint -> {Left, Bottom}]
It doesn't work. Any help? The lines should be on the left side of the picture.