Scales a value of the original plot for a high-resolution plot. Returns an integer number of pixels >=1
(float length)
| 2035 | |
| 2036 | /** Scales a value of the original plot for a high-resolution plot. Returns an integer number of pixels >=1 */ |
| 2037 | @AstroImageJ(reason = "Access widen for Vector Plot saving", modified = true) |
| 2038 | public int sc(float length) { |
| 2039 | int pixels = (int)(length*scale + 0.5); |
| 2040 | if (pixels < 1) pixels = 1; |
| 2041 | return pixels; |
| 2042 | } |
| 2043 | |
| 2044 | /** Scales a font of the original plot for a high-resolution plot. */ |
| 2045 | @AstroImageJ(reason = "Access widen for Vector Plot saving", modified = true) |
no outgoing calls
no test coverage detected