16 Topics
| |
I am doing code for CAESAR CIPHER. I need to built a histogram or frequency distribution for the output. I thought that finding out the frequency of the ASCII code, then print the frequency with * by using loop. But my code din't have array, can't do ++freq[c[i]]. I have … | |
I need to design an application that makes a histogram that visually shows the distribution of a set of numbers. It has to read in numbers 1-100 and then produce a chart which labels how many of each number is input. So if my input is 1, 23, 17, 13, … | |
Hello! I need helping using the DataGridView in vb. This needs to show the degrees from 2001 and 2003. I displayed some examples also! The things this needs to display are the following: 1. Display degrees in alphabetical order by field of study. 2. Decreasing percentage of those enrolled for … | |
Pretty stumped on why I am getting so many errors trying to get this to work, the reason terminalArray is not declared is because this is a function, terminalArray was declared before main. Any help will be greatly appreciated! int histArray[10]; int i; int j; while (terminalArray >= 1 && … | |
I post here the code for histogram using the turtle graphics module, which I posted long time ago in discussion thread. For more special graphs there exist other fancier options, but this tkinter based routine can function in most standard installations of Python. Example data.txt, like mentioned in module docstring: … | |
Here is example how data can be summed to dictionary or you can use numpy.histogram to sum the data as weights of the categorized data. | |
So i posted several days ago about an adding grades to an array, which i managed to figure out. This is the code I currently have. [CODE]public class Grades { public static void main (String[] args) { float result = 0; Scanner scan = new Scanner(System.in); int count = 0; … | |
Hi! I'm a newbie in this forum. I'm a novice C++ programmer and we are tasked to create a program with the following requirements: [QUOTE]Given the sequence of numbers [I][B]n a1 a2 a3 . . . an[/B][/I] a simple histogram should be printed to the computer screen. The number [B][I]n[/I][/B] … | |
I have to calculate the modal value of [icode]std::vector< int >[/icode] quite often, so I thought I'd share my general method for people to look at, use and/or comment. In my case, the vectors usually contain values in the range 0 - 255. The code first creates a [icode]std::vector< int … | |
Hey guys, I'm new to these forums and new to C++ in general. I have been looking around the forums and I have found threads with similar issues to mine but unfortunately they don't cover my exact issue. Essentially I want to make a histogram in C++ that takes a … | |
Hi all, I am having some problem writing an ImageJ plugin for display image histogram. [CODE]import ij.ImagePlus; import ij.plugin.filter.PlugInFilter; import ij.process.ByteProcessor; import ij.process.ImageProcessor; public class Create_New_Image implements PlugInFilter { String title = null; public int setup(String arg, ImagePlus im) { title = im.getTitle(); return DOES_8G + NO_CHANGES; } public void … | |
Hi PERL-fans, I have a problem with an array while coding a histogram: The data is in an array [code=perl]@data[/code] I initialise my histogram array like: [code=perl]@histo=();[/code] Then, I loop over the datapoints and at each point compute in which bin that point would be: [code=perl] for(my $i=0; $i<scalar(@data); $i++){ … | |
our task is to show the histogram in a vertical orientation like this: Sample Input/Output Enter a string: waka waka fifa Histogram for waka waka fifa * * * * * * * * * * * a f i k w I have here my code, but the output … | |
please help me with this problem... i dont have any idea on how to make the code... Histogram is a process of representing the frequency of data in a chart. Write a C++ program that will simulate this process. Your program should read a string (only letters are allowed) and … | |
i am soryy my english is very bad but ill try my best to explain.i need help with my c++ assignemnt urgently. i want to create a frame and fit in this histograph(attached) which i made with the help of the container, where the x-axsis is the number from like … | |
Hi everyone, this is my first post on this forum. I've been browsing these boards for awhile and thought it would be a good idea to register now, for i hope someone can help me out :) I've created a program which enables a user to input numbers from 1 … |
The End.