Skip to main content

Hanspeter Helfer

Hanspeter Helfer's Public Library

Jul 15, 16

"Enums are types, not variables. Therefore they are 'static' per definition, you dont need the keyword."

  • Enums are types, not variables. Therefore they are 'static' per definition, you dont need the keyword.

  • (y=0.5*
  • Using y=..density.. scales the histograms so the area under each is 1, or sum(binwidth*y)=1. As a result, you would use y = binwidth*..density.. to have y represent the fraction of the total in each bin. In your case, binwidth=0.5

  • program:
     # Set r to the value in a float field containing the rating
     r = raw_field('#myfloat');
     
     # Return the name of the png that corresponds to the value. The .01 stuff
     # is used to avoid having to enter the png name twice, once for less-than
     # and once for equals
     first_non_empty(
      cmp(r, 1.01, '1-star-rating.png', '', ''),
      cmp(r, 2.01, '2-star-rating.png', '', ''),
      cmp(r, 3.01, '3-star-rating.png', '', ''),
      cmp(r, 3.51, '3-star-plus-rating.png', '', ''),
      cmp(r, 4.01, '4-star-rating.png', '', ''),
      cmp(r, 4.51, '4-star-plus-rating.png', '', ''),
      cmp(r, 5.01, '5-star-rating.png', '', '')
     )
  • MiniIn Preference / Look and feel / column icons, look at the bottom of the dialog. You will see a button "Add advanced rule" (or something close to that). Tap it and a dialog will open letting you set up the rule type and the rule template. The "program:" bit I supplied is the template.
     
     To explain a bit further, an advanced rule must return the name of the file containing the image to be displayed. If you want more than one image displayed by this one rule, return a list of image names separated by colons. If you want the results of this rule to be composed with other rules (use the results of multiple rules), pick one of the "composed" types.
  • If you want more than one image displayed by this one rule, return a list of image names separated by colons.

  • The problem is that you add a continuous x to a discrete x in the original layer.
  • create a lookup table
  • We can transform discrete x by indexing

4 more annotations...

Mar 04, 16

"library(Cairo)
Cairo(file="Cairo_PNG_72_dpi.png",
type="png",
units="in",
width=5,
height=4,
pointsize=12,
dpi=72)
my_sc_plot(data)
dev.off()"

    • Under developer options:

       

      • I set all the animations and transitions to .5x.
      • I checked "Force GPU Rendering"
      • I also checked "Disable HW overlays.

      So far, the performannce has been on the level of my other Android devices and feels snappy and responsive (Currently own a Nexus 6p and Shield TV) 

1 - 20 of 673 Next › Last »
20 items/page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo