Clear[“Global`*”]
Graphics[{Orange, Disk[{0, 0}, .01]}]
Graphics[{Black, Disk[{2, 0}, .01]}]
This code prints two disks with radius 1. Why does it not print smaller disks with 0.01 radius?
Thanks.
Clear[“Global`*”]
Graphics[{Orange, Disk[{0, 0}, .01]}]
Graphics[{Black, Disk[{2, 0}, .01]}]
This code prints two disks with radius 1. Why does it not print smaller disks with 0.01 radius?
Thanks.
Hi,
I don’t think that Mathematica prints the disks with radius one. You are creating two different graphics objects, the axes of which are scaled to render the disks at their “optimal” size. If you plot them into one figure you see that they indeed have radius 0.01:
Clear["Global`*"];
Graphics[{{Orange, Disk[{0, 0}, .01]}, {Black, Disk[{2, 0}, .01]}}]
produces this image:
![]()
Cheers,
M.
Thanks a lot. Is there a way to print “Orange” and “Black” next to the disks?
If I need to display only one small dot in a line, what should I do? Thanks.