uia4w / uia-wafermap

Shot & Wafer map for semiconductor
Apache License 2.0
48 stars 25 forks source link

Color assigning issue #10

Open MrAkmal08 opened 4 months ago

MrAkmal08 commented 4 months ago

I am trying to assigning specific color on specific bin on the map. It work on other bin number except for bin 3 which is always have blue color. even I debug and assign all to white color, bin 3 still have blue color. image

gazer2kanlin commented 2 months ago
  1. var data = shotmap.data(maxX, maxY, minX, minY, "leftdown", "bincode")
  2. data.layer("1", resultProvidor, objProvidor); resultProvidor is a function and return the a code which 0 means good, others are bad.
  3. shotmap.diePalette( function(value) { // TODO } ); value is the same as the code at step 2. You can return different color depending on the value.

I updated the README, and you can find some information on Layer and Color System section.