I am attempting to use Color scale between two cells. The Right Cell is the maximum of the character's Hit points and the Left cell is their current Hit Points. I want it to scale between Red for less than 10%, Yellow if less than 65% and Green at 100%
But using the scale it shows as just Red to Yellow and then Pops in at full green value OR just stays red until it is 100% instead of scaling
I think you need a couple of (v. simple!) formulae:
Midpoint has been truncated and is actually:
=C$1*0.65
Change Minpoint from 0 to =C$1*0.1 if you prefer, but seems not necessary.
use Number instead of Percentile where:
min: =C$1*0.1
mid: =C$1*0.65
max: =C$1
Related
I imagine there is probably going to be an easy solution for this in GIMP, but I for the life of me can't figure it out.
I'm using the color picker tool with the use info window selected to verify pixel values.
Basically, I have some pixels in an image that I need to zero out. By that I mean I want the RGBA values to all be set to 0.
I attempted to:
use the rectangular select tool to select the group of pixels
use bucket fill to set the pixels to black with opacity set to 0.0
Then, to verify it was done correctly, I use the color picker to test the value of the rectangle I just filled.
Unfortunately, it seems to just contain the previous value. What am I missing here?
The "opacity" of the bucket-fill is the opacity of the paint, not the opacity of the resulting pixels. In other words the less opaque it is, the less visible the result. What you want to do is bucket-fill selection with black, then [delete].
I have to do a line charts with threshold y=5 where y>5 circle color is green y<5 circle color is red and circle y=5 circle color is orange. Using simple threshold i can draw only 2 color in red and green but i can't do the orange one.
{
name: 'Series1',
data: [
{y:2},
{y:6},
{y:5},
{y:6.5},
{y:3},
{y:10}
],
threshold: 4,
negativeColor: "red",
color: "green"
}
How can i do my chart with 3 color circle using threshold? and how can i take color only in circle but grey in line connected circle?
To do what you are asking will require using multiple series, as in this example:
http://jsfiddle.net/jlbriggs/yHn2D/
You can use the linkedTo property to make them all sit under one legend entry.
However, this kind of display inevitably leads to a a cluttered, overly colored, hectic display.
My example, even though the colors are toned down, looks a bit circus-like.
I would be much more inclined to do soemthing like this:
http://jsfiddle.net/jlbriggs/yHn2D/3/
Highlight the target range on the chart, in a subtle manner. When looking at such a chart day after day, watching for data that is outside of the acceptable range, a chart like this will make it very easy to see.
A chart that highlights every singly point, with multiple colors, whether they require attention or not, will drown the important information in visual clutter.
FWIW.
Basically what I want to do is to filter out only the liquid region of the bottle for further processing. So the next processes would apply only for that region.
I've tried various methods for months but didn't have any luck. I can filter out the region between the top liquid boundary and the top of the bottom dark region. But that doesn't serve my purpose as I need the areas at the sides of the dark region at the bottom of the bottles too. Im trying to do this in openCV/EmguCV.
help please...
You may upload the images you have already obtained (code as well), along with the regions that your result failed to include. Currently I am not quite sure which part of liquid would you like to get. I tried some easy processing, and get a liquid region. Please let me know if there is some problem.
(1) Remove the region with (i) intensity of 255 at either R,G or B space, or (ii) all the 3 space with intensity of less than 100, shown in upper left as I0;
(2) HSV space. Remove the region with Hue value equal to 0.5 or 1, shown in upper middle as I1;
(3) Remove the region with Saturation value no less than 0.5, shown in upper right as I2;
(4) I2&I1, remove the region with small areas, fill in the holes, shown in lower left as I3;
(5) I0(:,:,1)&I3 where I0(:,:,1) is its channel 1. Fill in the holes, smooth the edges, shown in lower middle;
(6) Use (5)'s result as a mask on the original image, shown in the lower right.
I think you can also get the liquid region with the dark side at the bottom shown as a hole, you can use cvFloodFill() to fill the holes, and get a intact liquid region.
I've added a gradient to my scatter plot in the usual manner:
CPTFill areaGradientFill = [CPTFill fillWithGradient:areaGradient1];
boundLinePlot.areaFill = areaGradientFill;
boundLinePlot.areaBaseValue = 0;
Setting the minimum for the gradient is easy to do with the areaBaseValue property. However, the gradient will always stretch such that the entire range of color defined by areaGradient1 appears below the line plot.
What I'd like to do is set an absolute y-axis range (e.g., 0 to 100) and have the gradient always be set to that range. So if my line is at y=50, only the bottom 50% of the gradient would be rendered below the line. I thought setting boundLinePlot.areaBaseValue2 = 100; would do this, but it doesn't have any effect.
Does CorePlot support this? If not, what's the 'right' way to go about implementing it?
(This is my first question so apologies if I'm not clear. Be gentle. :) )
While there's no direct way to make this happen you could use a trick. Make your horizontal global range wider than what you would show normally and do not make the graph horizontally scrollable. Add a value to the graph in the hidden area that is always your maximum value. This will be filled with the full gradient. Other parts however will only get a partial gradient, depending on their height.
I found this trick by accident while looking at one of my graphs. Look:
The overview at the top shows where the big graph is currently (the green limit band). Now compare this with another part:
You can clearly see that the tip of the large value has a different gradient value as the tip of the smaller one.
You can use a "background limit band" to draw a fill at a certain size behind the plots, but that won't be clipped to the plot line.
I have a painting app, and if i paint a red dot, then try to paint over it with a yellow dot but at a low alpha value it acts like a multiply blend mode, even if i keep going over the red dot with the yellow. Shouldnt it start to cover up the red dot, even if the yellow alpha is 0.5 or another lower value? How can I make a low alpha value continue to build up when applied and cover a color with a higher alpha? I'm I making sense?
Im calling these methods below in this order with red, then changing the color to yellow and drawing over the red, the result is in the attached image.
CGContextSetFillColorWithColor();
CGContextSetAlpha();
CGContextMoveToPoint();
CGContextAddEllipseInRect();
CGContextFillPath();
thanks