Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I need to create a box-plot chart with HighCharts 3.0 and to place the box horizontally rather than vertically. Anybody has any idea how to achieve this?
thanks
My comment aside here is how to do it inverted
chart: {
type: 'boxplot',
inverted: true
},
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
Need to draw a custom world map drawing either the complete world map or a certain region. Also highlighting different regions with different colours.
I have tried https://github.com/KiloKilo/WorldMatrix. I am able to colour the regions but unable to draw custom regions and provide custom colour to certain regions. Unable to find any other library.
Using below code, it shows nothing
let generator = WorldMatrixGenerator()
// Set the number of columns per rows (Default: 100)
generator.columns = 20
// Set your desired map cutting (Default: .world)
// use .custom(north, east, south, west) for a custom bounding
generator.mapCutting = .europe
// Set the output type (.enum, .ascii, .emoji) (Default: .enum)
generator.exportType = .enum
// Generates the world array
generator.generate()
Basically want to achieve the one in the image. Can someone let me know how can draw custom regions?
Thanks for the help in advance.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
This is what my graph currently looks like.
I am trying to put the axis labels on the right side of the left axis in ios charts by danielgindi as seen in the second picture above. Any suggestions, I have checked countless forums and posts send help.
As per your requirement you can use below property to get your YAxis labels inside chart.
Swift :
lineChartView.leftAxis.labelPosition = .insideChart
lineChartView.rightAxis.labelPosition = .insideChart
Objective-C:
self.lineChart.leftAxis.labelPosition = YAxisLabelPositionInsideChart;
self.lineChart.rightAxis.labelPosition = YAxisLabelPositionInsideChart;
Hope this will helps!
Output :
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
My task is recognition a lightning on the picture. I have chosen to use OpenCV.
I'm using binary tresholding to get image like this.
Original:
After binary thresholding:
How now to determine whether there is lightning in the image?
So, how to distinguish lightning on the image from other lines? For example
on this image after binary tresholding i have got the following:
but if i just count the number of white pixels - i get a wrong answer.
Main part of my code:
if ((Igray = cvLoadImage(argv[1], CV_LOAD_IMAGE_GRAYSCALE)) == 0) {
return -1;
}
int block_size = atoi(argv[2]);
double offset = (double)atof(argv[3]);
Iat = cvCreateImage(cvSize(Igray -> width, Igray -> height), IPL_DEPTH_8U, 1);
// treshold
cvThreshold(Igray, Iat, offset, 255, CV_THRESH_BINARY);
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I have some problem with Latex with section titles. I would like to do something of this:
section title1 |text...
|text...
|text..
|text..
|text
section title2 |text...
How could I do this effect? Thank you for your answers!
You could indent the whole section text that follows the heading with the changepage package.
\documentclass[a4paper,10pt]{article}
\usepackage{changepage}
\begin{document}
\section{section heading}
\begin{adjustwidth}{30mm}{0mm}
section text line one
section text line two
\end{adjustwidth}
\section{section two heading}
...
\end{document}
Which gives you something like
section heading
section text line one
section text line two
section two heading
...
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to display 3 images in a single row. Each image having thumbnail class. Column width is .col-xs-2. I can have the last row just having one/two/three images depending upon total images(say 7). I want to have a ruby while/for loop which will automate this and do it.
eg. x|x|x
x|x|x
x|
here x represent the images which are of thumbnail class. Inside col-xs-2 class.
I want to display 3 images in a single row
You need Enumerable#each_slice. This will divide your images in equal numbers. You can do
- #images.each_slice(3).each do |group|
// #images is an array of images
- group.each do |image|
// image is a single image in your array of 3 images
.image-container
= image_tag(image.url, class: "col-xs-2")