Troubleshooting Dynamic Graphic Rendering
1. Adjust Image Resolution (Rasterize)
The most frequent culprit is the display resolution. When an image is dynamically generated, it is often converted (rasterized) into a fixed image format for cloud display. You can explicitly control this process using the Rasterize function and its ImageResolution option before publishing the graphic.
Wrap the graphic command (like Plot, Graphics, etc.) in a Rasterize function and set a higher resolution. Try a value of 300 or higher to start with.
Cell[
Rasterize[
Plot[Sin[x^2], {x, 0, 10}, ImageSize -> Large],
"PNG",
ImageResolution -> 600
],
"Output"
]
2. Setting Appropriate Image Size (ImageSize)
If the Cloud attempts to scale a small graphic up to a large display area, it may look blurry.
Make sure the graphic has an appropriate size defined within the notebook.
Explicitly define the desired display size using the ImageSize option in your graphic command.
Plot[Sin[x^2], {x, 0, 10}, ImageSize -> 800]
3. Disabling High-DPI Output (Rare)
On some very high-resolution displays, the Cloud tries to send a double-resolution image (HiDPI/Retina) which can occasionally be mismanaged by certain browsers or viewing modes.
If the first two steps fail, try setting the ImageResolution to a specific screen-based DPI value, like 96.