Menu
  • HOME
  • TAGS

Rescale an image for printing

java,printing,scale,rescale

Try with that: g2.drawImage(createImage(temperaturePlot).getScaledInstance(500, 300,BufferedImage.SCALE_SMOOTH), 85, 65, null); I think this solve your problem....

Irregular interval in Matlab Colormap [duplicate]

matlab,plot,colorbar,rescale

From the colormap documentation: To create a custom colormap, specify map as a three-column matrix of RGB triplets where each row defines one color. An RGB triplet is a three-element row vector whose elements specify the intensities of the red, green, and blue components of the color. The intensities must...