I want the following boxplot:
to have the specific median value on the red line.
Is that possible?
text(1, mean1+1,mean1);
text(2, mean2+1,mean2);
text(3, mean3+1,mean3);
text(4, mean4+1,mean4);
if you change the +1 to another number it elevates the text by that amount.
Related
How to change SelectOut probability using the slider in Anylogic?
to get the value of the slider you do
slider.getValue()
You need to be sure that the minimum and maximum of the slider is set from 0 to 1 as minimum and maximum values.
You write slider.getValue() on the probability field of your select output block
How to just highlight the Max and the lowest cost value in the Tableau table dashboard column. I don't want the whole column to get highlighted, just the max and the min value in red and green color?
Can anyone please help!
My dashboard has a table and one of the column is eCPM, just in this column CPM, I want the $4.41 to highlighted as Green and $7.50 to be in red.
The solution provided works well! But it also applied to my Grand Total, which I don't want. Also I want just eCPM and Market column to be highlighted, because other columns doesn't fit the min/max criteria.
Any help??
Create a calculated field by using the window_max and window_min functions:
IF SUM([columnname]) = WINDOW_MAX(SUM([columnname])) THEN "Max"
ELSEIF SUM([columnname]) = WINDOW_MIN(SUM([columnname])) THEN "Min"
ELSE "Neither"
END
Add the calculated field to Color
Manually try to grey out the color of the Neither colors, like so:
I am trying to color code my list in tableau with red color for dates in end date lesser than today() or when concern column is Yes. I created a dual axis of 1 and 0 to get the cells with color in one column and get the text in another and created a dual axis so that they overlap. For that I created a calculated column where I gave the color red if the conditions meet.
This is in my calculated field:
Color:
IF TODAY()>[End Date] OR [Concern (Yes/No)]="Yes" then "RED"
ELSE "None"
END
However even after totally maximizing the size of the square for color for 1. The fields do not fill the whole cell. How do I fill the whole cell?
Here is the pic:
Please help me out here?
You may have 2 options here. I haven't tested so will leave you to see what works best.
Option 1 - use a measure and a Square mark type. Create a calculated field that returns a measure. We can adapt the formula you have built:
INT(TODAY()>[End Date] OR [Concern (Yes/No)]="Yes")
Put that field on Columns - aggregate to either MIN or MAX, doesn't matter - and set the Mark Type as Square. Also put this field on Colour and set your colours accordingly. Put your text on the Label shelf (or Text, I forget what it's called with the Square mark type.
Option 2 - similar to what you have now. You don't need MIN(1) and MIN(0), just one of those should suffice. Make it Gantt, the above calculated field on colours and your text field on Label. This article on the Tableau placeholder technique describes how to do this.
For my bar graph, I only want to show the first and last value on the x-axis. Is there a way to do that in Matlab?
Another way to do so is:
plot(...),xlim([xmin xmax])
yep, use xtick([first last]).
I want to display overlapping boxplots using Sigmaplot 12. When I choose the scale for the x-axis as linear then the boxes do indeed overlap but are much too thin. See figure below. Of course they should be much wider.
When I choose the scale of the x-axis to be "category", then the boxes have the right width, but are arranged along each single x-value.
I want the position as in figure 1 and the width as in figure 2. I tried to resize the box in figure 1 but when I choose 100% in "bar width" than it still looks like Figure 1.
many thanks!
okay, I found the answer myself. In Sigmaplot, there is often the need to prepare "style"-columns, for example if you want to color your barcharts, you need a column that holds the specific color names.
For my boxplot example I needed a column that has the values for "width". These had to be quite large (2000) in order to have an effect. Why ? I have no idea. First I thought it would be because of the latitude values and that the program interprets the point as "1.000"s, but when I changed to values without decimals, it didnĀ“t get better.
Well, here is the result in color.
Have fun !