Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
documentation:language_reference:objects:graphics:functions:plotbands [2026/11/12 22:33] – Maurits W. Haverkortdocumentation:language_reference:objects:graphics:functions:plotbands [2026/11/13 07:45] (current) – Maurits W. Haverkort
Line 14: Line 14:
       * //"Frame"// : a table of options for the frame, among which //"Ymin"//, //"Ymax"// (the energy range, by default the range of the bands rounded outward), //"dYTick"// and //"YLabel"//       * //"Frame"// : a table of options for the frame, among which //"Ymin"//, //"Ymax"// (the energy range, by default the range of the bands rounded outward), //"dYTick"// and //"YLabel"//
       * //"NPixelX"//, //"NPixelY"// : Integers, the size of the bitmap that holds the bands. Default value 1000 by 1000       * //"NPixelX"//, //"NPixelY"// : Integers, the size of the bitmap that holds the bands. Default value 1000 by 1000
-      * //"Color"// : 32 bit integer 0xAARRGGBB, the color of the bands, and of character 1. Default value 0xFF000080 (dark blue) +      * //"Color"// : 32 bit integer 0xAARRGGBB, the color of the bands, and of character 1. Default value 0x00000080 (dark blue) 
-      * //"SecondColor"// : 32 bit integer 0xAARRGGBB, the color of character 0. Default value 0xFFFF0000 (red) +      * //"SecondColor"// : 32 bit integer 0xAARRGGBB, the color of character 0. Default value 0x00FF0000 (red) 
-      * //"Transparancy"// : Integer from 0 to 255, the opacity of //"Color"// (255 is opaque). It multiplies the alpha byte of //"Color"//, so 0x80 on an opaque color gives the alpha 0x80. In a plot of lines the alpha is stored in the bitmap, and whether it shows depends on the program that displays the SVG; in an intensity plot (see below) the color is mixed with white by it. Default value 255 +      * //"Transparancy"// : Integer from 0 to 255, a transparency on top of that of //"Color"// (0 is opaque, 255 fully transparent). The two opacities multiply: 0x80 on an opaque color gives the transparency 0x80. In a plot of lines the alpha is stored in the bitmap, and whether it shows depends on the program that displays the SVG; in an intensity plot (see below) the color is mixed with white by it. Default value 0 
-      * //"SecondTransparancy"// : Integer from 0 to 255, the same for //"SecondColor"//. Default value 255+      * //"SecondTransparancy"// : Integer from 0 to 255, the same for //"SecondColor"//. Default value 0
       * //"LineWidth"// : Real, the width of a band line as a fraction of the height of the plot. Default value 0.002       * //"LineWidth"// : Real, the width of a band line as a fraction of the height of the plot. Default value 0.002
       * //"Interpolate"// : Boolean, draw the lines between the $k$-points interpolated. Default value true       * //"Interpolate"// : Boolean, draw the lines between the $k$-points interpolated. Default value true
Line 36: Line 36:
  
 ### ###
-The color of a pixel follows from the characters as for the lines, with $c = A_c(k,\omega) / A(k,\omega)$ the character at that point. Its intensity is $\min(1, s A(k,\omega) / A_{\mathrm{ref}})$, with $s$ the //"Saturation"// and $A_{\mathrm{ref}}$ the peak height of a pole of weight 1 with the same broadening. A band of weight 1 is therefore drawn in full color, a quasiparticle band of weight 0.3 at 30 percent, and the incoherent part of a spectral function faintly; a larger //"Saturation"// makes weak features visible. The color is mixed with white by the intensity times its alpha. Every $k$-point is drawn as a strip of pixel columns; //"Interpolate"// and //"LineWidth"// are not used. Without //"GammaL"// and //"GammaG"// each pole is put on the two pixel rows next to it, which gives lines one or two pixels wide.+The color of a pixel follows from the characters as for the lines, with $c = A_c(k,\omega) / A(k,\omega)$ the character at that point. Its intensity is $\min(1, s A(k,\omega) / A_{\mathrm{ref}})$, with $s$ the //"Saturation"// and $A_{\mathrm{ref}}$ the peak height of a pole of weight 1 with the same broadening. A band of weight 1 is therefore drawn in full color, a quasiparticle band of weight 0.3 at 30 percent, and the incoherent part of a spectral function faintly; a larger //"Saturation"// makes weak features visible. The color is mixed with white by the intensity times its opacity (1 for a transparency 00). Every $k$-point is drawn as a strip of pixel columns; //"Interpolate"// and //"LineWidth"// are not used. Without //"GammaL"// and //"GammaG"// each pole is put on the two pixel rows next to it, which gives lines one or two pixels wide.
 ### ###
  
Line 90: Line 90:
 ===== Table of contents ===== ===== Table of contents =====
 {{indexmenu>../#2|tsort}} {{indexmenu>../#2|tsort}}
 +
 +
  
  
Print/export