Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
histogram
- Page 1
Histogram
Programming
Software Development
12 Years Ago
by mical700
…, the average score, the standard deviation, and a
histogram
-- a bar graph indicating the frequency with which a… and two people scored 78, then that portion of the
histogram
should appear as: 74: *** 75: ***** 76: ****** 77: 78: … displayed. You must use function to print
histogram
: public static void printHist(double[] sorted)
Histogram help.
Programming
Software Development
9 Years Ago
by Liam_4
I need to design a
histogram
that prints out an "*" … of integers from a text file and produce a
histogram
, in your solution, print one “*” for each … System.out.println("This program will read out a
histogram
from a file"); for( string = 0; string…
Re: Histogram help.
Programming
Software Development
9 Years Ago
by jwenting
…;)); System.out.println("This program will read out a
histogram
from a file"); while(scan.hasNextInt()) { int i = scan…
Histogram with user inputted character array
Programming
Software Development
12 Years Ago
by sbouxsein
…and character counter and display a
histogram
of particular characters. The
histogram
may use any character to denote …characters. Below is an example of what a
histogram
might look like for the sentence: i Looooove…completing? Here is the code I have for the
histogram
function. void
histogram
(char array3[]){ int counts[256] = {0};…
Histogram of int array
Programming
Software Development
15 Years Ago
by yun
…; #include "strutils.h" #include <fstream> void
Histogram
(int*); //Function prototype void print(string*); int main(){ int arr… file into memory if(in.fail()) break; }
Histogram
(arr); //call
Histogram
Function return 0; } void
Histogram
(int *arr){ string str[11]; // for storing…
histogram function
Programming
Software Development
15 Years Ago
by BlinkOnly
… whole program but i have everything else working except the
histogram
, any suggestions would be appreciated [CODE]# include <iostream>… reader(); void writer(); void rotate_clock(); void rotate_anti(); void resize(); void
histogram
(); void delete_p(); }; [/CODE] and heres the function i have written…
Re: Histogram with user inputted character array
Programming
Software Development
12 Years Ago
by JasonHippy
… a debugger: - Set a breakpoint at the start of your
histogram
function and run the program. - Enter a sentence including some… input from the user that is the problem, not your
histogram
function!
Histogram equalization in MATLAB
Programming
Software Development
17 Years Ago
by kartik14
I've applied
histogram
equalization for an image in MATLAB using histeq(image,255) I then reran the same function again. I found that rerunning the
histogram
equalization function does not further equalize the
histogram
. Can anyone help me understand why this is happening?
Re: Histogram of int array
Programming
Software Development
15 Years Ago
by yun
[QUOTE=vmanes;874118]Instead of the big if...else if block, how about [code] for( int i = 0; i < 10; i++ ) { index = arr[i] / 10; str[index] += "*"; } [/code][/QUOTE] obove code work well, but what if i want
Histogram
output in vertical order.? plz help
histogram program
Programming
Software Development
14 Years Ago
by csha_cs508
… dont have any idea on how to make the code...
Histogram
is a process of representing the frequency of data in… the given string. Sample Input/Output Enter a string: joshua
Histogram
for joshua a * h * j * o * s * u * another? [y…/n] -> y Enter a string: waka waka fifa
Histogram
for waka waka fifa a ***** f ** i * k * w…
Re: histogram program
Programming
Software Development
14 Years Ago
by csha_cs508
… is, how will i make this to show the
histogram
chart in vertical orientation like this? Sample Input/Output …Enter a string: waka waka fifa
Histogram
for waka waka fifa *** * * * * * * * * a f i k w …;>sentence; cout<<endl; cout<<"
Histogram
for "<<sentence<<endl; slen =…
Histogram of the length of words exercise hint?
Programming
Software Development
14 Years Ago
by ak24
… 1.13: "Write a program to print a
histogram
of the lengths of words in its input. It is… easy to draw the
histogram
with the bars horizontal; a vertical orientation is more challenging…solve this. [CODE]#include <stdio.h> /* print a
histogram
of the length of words from input */ main() { int c…
Histogram plot
Programming
Software Development
13 Years Ago
by SK6114
Hey, I have pylab and I want to plot a
histogram
of the following : Basically I generate a random integer between … integer into a separate bin of the
histogram
so I can see on the
histogram
how many times each integer has been…
Re: histogram function
Programming
Software Development
15 Years Ago
by Salem
> char comment; How big a comment? > counter[264]=depth; Do array bounds mean anything to you? What is depth? The basics for a
histogram
is counter[pixel]++ for all pixels
Re: histogram program
Programming
Software Development
14 Years Ago
by wisaacs
…: [code=cpp] # include <string> using namespace std; int*
histogram
(string s,int &last_found,int &max) { static int…(cin,sentence); // this allows spaces int last,max,*name; name=
histogram
(sentence,last,max); for (unsigned char r=0; r <…
Histogram using Tkinter
Programming
Software Development
15 Years Ago
by pelupelu
I am trying to build a
histogram
. So far I have coded the following: from Tkinter import * … 3 rectangles (which I plan to use to create my
histogram
) but the bars are in the opposite side (my numbers…
Histogram Equalisation image manipulation not working
Programming
Software Development
15 Years Ago
by cherryduck
… an image editor in Java, one of the functions is
histogram
equalisation, but my code is producing a greyscale image instead….getRGB(x, y) & 0xffffff00) | i); } } System.out.println("
Histogram
Equalisation succeeded."); setImage(histEqImage); } [/CODE]
Re: histogram program
Programming
Software Development
14 Years Ago
by wisaacs
Often with counting/
histogram
problems, you can make an array of counters, one for …
Histogram report
Programming
Software Development
14 Years Ago
by Jake.20
Guys i need help in
histogram
report.. My
histogram
report didn't show the data in the database.
Re: histogram in c
Programming
Software Development
15 Years Ago
by tux4life
[QUOTE=Dream2code;920652]Any one can please say what do we mean by a
histogram
??[/QUOTE] [URL="http://catb.org/esr/faqs/smart-questions.html#answers"]STFW[/URL]: Look [URL="http://www.lmgtfy.com/?q=
histogram
"]here[/URL].
histogram in c
Programming
Software Development
15 Years Ago
by karpaklu
hai dani, how to create a vertical
histogram
in c using graphics header file.
Re: histogram in c
Programming
Software Development
15 Years Ago
by Dream2code
Any one can please say what do we mean by a
histogram
??
Histogram from Array!
Programming
Software Development
14 Years Ago
by LiquidSolid
Hi I need to figure out how to make a
histogram
for a set of data (scores). I need it to …
Re: Histogram from Array!
Programming
Software Development
14 Years Ago
by LiquidSolid
My question is I have no idea how to start of the function for the
histogram
.
Re: Histogram from Array!
Programming
Software Development
14 Years Ago
by Adak
You have to first set up your design for the
histogram
. What is the range of the historgram (lowest and highest). Just four students will be shown in it? What will each star represent, as a number or letter? What grade or score gets what number of stars? char gr[50][4], might be OK, depending on your answers to the above questions.
Histogram made with array
Programming
Software Development
13 Years Ago
by Bowsan22
…;Average of Grades: " + result / count); System.out.println("
Histogram
Of Grades"); System.out.println("-------------------"); } }[/CODE] The…
Re: Histogram made with array
Programming
Software Development
13 Years Ago
by JamesCherrill
[CODE]print "0-59: " loop through the grades array if grades[i] >0 and <=59 print "*" print a newline[/CODE] You can repeat this for each line of the
histogram
or you can get smart and work out how to (a) do it inside another loop or (b) put that code in a method and call it once for each line.
Re: Histogram
Programming
Software Development
12 Years Ago
by JamesCherrill
There are lots of people here who will freely give their time to help you become the best Java programmer you can be. There's nobody here who is interested in helping you cheat or doing your homework for you. DaniWeb Member Rules (which you agreed to when you signed up) include: "Do provide evidence of having done some work yourself if …
Re: Histogram help.
Programming
Software Development
9 Years Ago
by JamesCherrill
FYI: That little pattern on lines13-17 is so common that Java 8 Map has a new `getOrDefault` method to make it simpler. values.put(i, values.getOrDefault(i, 0) +1);
Vertical Histogram with Built-In Modules Only
Programming
Software Development
14 Years Ago
by joeywheels
… modules. I understand the current
histogram
function isn't truly a
histogram
(and the code is probably…how to create a vertical
histogram
. [CODE]import itertools def
histogram
(s): print("
Histogram
:") print("%s %…; % ( "No.", "Value", "
Histogram
" )) for num, count in (s): print("%3d …
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC