Skip to main content
replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/
Source Link

As george2079 correctly points outgeorge2079 correctly points out in the comment, the source of the problem is that you specify thickness of the bounding box as Thick which is evaluated to

Thick
Thickness[Large]

According to the Documentation page for Thickness (see under "Details" section),

The following symbolic forms for $r$ can be used: Tiny, Small, Medium, and Large. These specify absolute thicknesses independent of the overall size of the graphic.

(emphasis mine). This meas that the larger size of the graph you request from Rasterize, the thinner bounding box you obtain. So if you need to make the appearance independent from the size of the graphics you should not use absolute thickness but use relative Thickness (with numeric argument) instead.

And here appears one principal difficulty/ambiguity in how this behavior is documented and how it actually works. It is reasonable to expect that when you specify ImageSize -> 550 you then need not to worry anymore about your thickness irrespectively of which RasterSize (which changes only resolution of the raster image) you specify. It is because according to Documentation page for ImageSize Mathematica assumes that ImageSize is specified in printer's points, while AbsoluteThickness is also specified in printer's points. So it is very natural to expect that when you specify AbsoluteThickness the resulting appearance will not depend on the image resolution! But in the reality AbsoluteThickness is linked not to ImageSize but to RasterSize in contradiction with the Documentation!

In this threadthis thread I provide additional arguments and considerations in support of my view that current behavior is inconsistent and wrong. At the bottom of the question in that thread a response from WRI acknowledging this issue is published. Nevertheless I suggest you to report current behavior as a bug again because it moves the problem higher in the WRI's bug priority list.

As george2079 correctly points out in the comment, the source of the problem is that you specify thickness of the bounding box as Thick which is evaluated to

Thick
Thickness[Large]

According to the Documentation page for Thickness (see under "Details" section),

The following symbolic forms for $r$ can be used: Tiny, Small, Medium, and Large. These specify absolute thicknesses independent of the overall size of the graphic.

(emphasis mine). This meas that the larger size of the graph you request from Rasterize, the thinner bounding box you obtain. So if you need to make the appearance independent from the size of the graphics you should not use absolute thickness but use relative Thickness (with numeric argument) instead.

And here appears one principal difficulty/ambiguity in how this behavior is documented and how it actually works. It is reasonable to expect that when you specify ImageSize -> 550 you then need not to worry anymore about your thickness irrespectively of which RasterSize (which changes only resolution of the raster image) you specify. It is because according to Documentation page for ImageSize Mathematica assumes that ImageSize is specified in printer's points, while AbsoluteThickness is also specified in printer's points. So it is very natural to expect that when you specify AbsoluteThickness the resulting appearance will not depend on the image resolution! But in the reality AbsoluteThickness is linked not to ImageSize but to RasterSize in contradiction with the Documentation!

In this thread I provide additional arguments and considerations in support of my view that current behavior is inconsistent and wrong. At the bottom of the question in that thread a response from WRI acknowledging this issue is published. Nevertheless I suggest you to report current behavior as a bug again because it moves the problem higher in the WRI's bug priority list.

As george2079 correctly points out in the comment, the source of the problem is that you specify thickness of the bounding box as Thick which is evaluated to

Thick
Thickness[Large]

According to the Documentation page for Thickness (see under "Details" section),

The following symbolic forms for $r$ can be used: Tiny, Small, Medium, and Large. These specify absolute thicknesses independent of the overall size of the graphic.

(emphasis mine). This meas that the larger size of the graph you request from Rasterize, the thinner bounding box you obtain. So if you need to make the appearance independent from the size of the graphics you should not use absolute thickness but use relative Thickness (with numeric argument) instead.

And here appears one principal difficulty/ambiguity in how this behavior is documented and how it actually works. It is reasonable to expect that when you specify ImageSize -> 550 you then need not to worry anymore about your thickness irrespectively of which RasterSize (which changes only resolution of the raster image) you specify. It is because according to Documentation page for ImageSize Mathematica assumes that ImageSize is specified in printer's points, while AbsoluteThickness is also specified in printer's points. So it is very natural to expect that when you specify AbsoluteThickness the resulting appearance will not depend on the image resolution! But in the reality AbsoluteThickness is linked not to ImageSize but to RasterSize in contradiction with the Documentation!

In this thread I provide additional arguments and considerations in support of my view that current behavior is inconsistent and wrong. At the bottom of the question in that thread a response from WRI acknowledging this issue is published. Nevertheless I suggest you to report current behavior as a bug again because it moves the problem higher in the WRI's bug priority list.

added 24 characters in body
Source Link
Alexey Popkov
  • 62.3k
  • 7
  • 154
  • 375

As george2079 correctly points out in the comment, the source of the problem is that you specify thickness of the bounding box as Thick which is evaluated to

Thick
Thickness[Large]

According to the Documentation page for Thickness (see under "Details" section),

The following symbolic forms for $r$ can be used: Tiny, Small, Medium, and Large. These specify absolute thicknesses independent of the overall size of the graphic.

(emphasis mine). This meas that the larger size of the graph you request from Rasterize, the thinner bounding box you obtain. So if you need to make the appearance independent from the size of the graphics you should not use absolute thickness but use relative Thickness (with numeric argument) instead.

And here appears one principal difficulty/ambiguity in how this behavior is documented and how it actually works. It is reasonable to expect that when you specify ImageSize -> 550 you then need not to worry anymore about your thickness irrespectively of which RasterSize (which changes only resolution of the raster image) you specify. It is because according to Documentation page for ImageSize Mathematica assumes that ImageSize is specified in printer's points, while AbsoluteThickness is also specified in printer's points. So it is very natural to expect that when you specify AbsoluteThickness the resulting appearance will not depend on the image resolution! But in the reality AbsoluteThickness is linked not to ImageSize but to RasterSize in contradiction with the Documentation!

In this thread I provide additional arguments and considerations in support of my view that current behavior is inconsistent and wrong. At the bottom of the question in that thread a response from WRI acknowledging this issue is published. Nevertheless I suggest you to report current behavior as a bug again because it moves the problem higher in the WRI's bug priority list.

As george2079 correctly points out in the comment, the source of the problem is that you specify thickness of the bounding box as Thick which is evaluated to

Thick
Thickness[Large]

According to the Documentation page for Thickness (see under "Details" section),

The following symbolic forms for $r$ can be used: Tiny, Small, Medium, and Large. These specify absolute thicknesses independent of the overall size of the graphic.

(emphasis mine). This meas that the larger size of the graph you request from Rasterize, the thinner bounding box you obtain. So if you need to make the appearance independent from the size of the graphics you should not use absolute thickness but use relative Thickness instead.

And here appears one principal difficulty/ambiguity in how this behavior is documented and how it actually works. It is reasonable to expect that when you specify ImageSize -> 550 you then need not to worry anymore about your thickness irrespectively of which RasterSize (which changes only resolution of the raster image) you specify. It is because according to Documentation page for ImageSize Mathematica assumes that ImageSize is specified in printer's points, while AbsoluteThickness is also specified in printer's points. So it is very natural to expect that when you specify AbsoluteThickness the resulting appearance will not depend on the image resolution! But in the reality AbsoluteThickness is linked not to ImageSize but to RasterSize in contradiction with the Documentation!

In this thread I provide additional arguments and considerations in support of my view that current behavior is inconsistent and wrong. At the bottom of the question in that thread a response from WRI acknowledging this issue is published. Nevertheless I suggest you to report current behavior as a bug again because it moves the problem higher in the WRI's bug priority list.

As george2079 correctly points out in the comment, the source of the problem is that you specify thickness of the bounding box as Thick which is evaluated to

Thick
Thickness[Large]

According to the Documentation page for Thickness (see under "Details" section),

The following symbolic forms for $r$ can be used: Tiny, Small, Medium, and Large. These specify absolute thicknesses independent of the overall size of the graphic.

(emphasis mine). This meas that the larger size of the graph you request from Rasterize, the thinner bounding box you obtain. So if you need to make the appearance independent from the size of the graphics you should not use absolute thickness but use relative Thickness (with numeric argument) instead.

And here appears one principal difficulty/ambiguity in how this behavior is documented and how it actually works. It is reasonable to expect that when you specify ImageSize -> 550 you then need not to worry anymore about your thickness irrespectively of which RasterSize (which changes only resolution of the raster image) you specify. It is because according to Documentation page for ImageSize Mathematica assumes that ImageSize is specified in printer's points, while AbsoluteThickness is also specified in printer's points. So it is very natural to expect that when you specify AbsoluteThickness the resulting appearance will not depend on the image resolution! But in the reality AbsoluteThickness is linked not to ImageSize but to RasterSize in contradiction with the Documentation!

In this thread I provide additional arguments and considerations in support of my view that current behavior is inconsistent and wrong. At the bottom of the question in that thread a response from WRI acknowledging this issue is published. Nevertheless I suggest you to report current behavior as a bug again because it moves the problem higher in the WRI's bug priority list.

added 2 characters in body
Source Link
Alexey Popkov
  • 62.3k
  • 7
  • 154
  • 375

As george2079 correctly points out in the comment, the source of the problem is that you specify thickness of the bounding box as Thick which is evaluated to

Thick
Thickness[Large]

According to the Documentation page for Thickness (see under "Details" section),

The following symbolic forms for r$r$ can be used: Tiny, Small, Medium, and Large. These specify absolute thicknesses independent of the overall size of the graphic.

(emphasis mine). This meas that the larger size of the graph you request from Rasterize, the thinner bounding box you obtain. So if you need to make the appearance independent from the size of the graphics you should not use absolute thickness but use relative Thickness instead.

And here appears one principal difficulty/ambiguity in how this behavior is documented and how it actually works. It is reasonable to expect that when you specify ImageSize -> 550 you then need not to worry anymore about your thickness irrespectively of which RasterSize (which changes only resolution of the raster image) you specify. It is because according to Documentation page for ImageSize Mathematica assumes that ImageSize is specified in printer's points, while AbsoluteThickness is also specified in printer's points. So it is very natural to expect that when you specify AbsoluteThickness the resulting appearance will not depend on the image resolution! But in the reality AbsoluteThickness is linked not to ImageSize but to RasterSize in contradiction with the Documentation!

In this thread I provide additional arguments and considerations in support of my view that current behavior is inconsistent and wrong. At the bottom of the question in that thread a response from WRI acknowledging this issue is published. Nevertheless I suggest you to report current behavior as a bug again because it moves the problem higher in the WRI's bug priority list.

As george2079 correctly points out in the comment, the source of the problem is that you specify thickness of the bounding box as Thick which is evaluated to

Thick
Thickness[Large]

According to the Documentation page for Thickness (see under "Details" section),

The following symbolic forms for r can be used: Tiny, Small, Medium, and Large. These specify absolute thicknesses independent of the overall size of the graphic.

(emphasis mine). This meas that the larger size of the graph you request from Rasterize, the thinner bounding box you obtain. So if you need to make the appearance independent from the size of the graphics you should not use absolute thickness but use relative Thickness instead.

And here appears one principal difficulty/ambiguity in how this behavior is documented and how it actually works. It is reasonable to expect that when you specify ImageSize -> 550 you then need not to worry anymore about your thickness irrespectively of which RasterSize (which changes only resolution of the raster image) you specify. It is because according to Documentation page for ImageSize Mathematica assumes that ImageSize is specified in printer's points, while AbsoluteThickness is also specified in printer's points. So it is very natural to expect that when you specify AbsoluteThickness the resulting appearance will not depend on the image resolution! But in the reality AbsoluteThickness is linked not to ImageSize but to RasterSize in contradiction with the Documentation!

In this thread I provide additional arguments and considerations in support of my view that current behavior is inconsistent and wrong. At the bottom of the question in that thread a response from WRI acknowledging this issue is published. Nevertheless I suggest you to report current behavior as a bug again because it moves the problem higher in the WRI's bug priority list.

As george2079 correctly points out in the comment, the source of the problem is that you specify thickness of the bounding box as Thick which is evaluated to

Thick
Thickness[Large]

According to the Documentation page for Thickness (see under "Details" section),

The following symbolic forms for $r$ can be used: Tiny, Small, Medium, and Large. These specify absolute thicknesses independent of the overall size of the graphic.

(emphasis mine). This meas that the larger size of the graph you request from Rasterize, the thinner bounding box you obtain. So if you need to make the appearance independent from the size of the graphics you should not use absolute thickness but use relative Thickness instead.

And here appears one principal difficulty/ambiguity in how this behavior is documented and how it actually works. It is reasonable to expect that when you specify ImageSize -> 550 you then need not to worry anymore about your thickness irrespectively of which RasterSize (which changes only resolution of the raster image) you specify. It is because according to Documentation page for ImageSize Mathematica assumes that ImageSize is specified in printer's points, while AbsoluteThickness is also specified in printer's points. So it is very natural to expect that when you specify AbsoluteThickness the resulting appearance will not depend on the image resolution! But in the reality AbsoluteThickness is linked not to ImageSize but to RasterSize in contradiction with the Documentation!

In this thread I provide additional arguments and considerations in support of my view that current behavior is inconsistent and wrong. At the bottom of the question in that thread a response from WRI acknowledging this issue is published. Nevertheless I suggest you to report current behavior as a bug again because it moves the problem higher in the WRI's bug priority list.

Source Link
Alexey Popkov
  • 62.3k
  • 7
  • 154
  • 375
Loading