Programming :: Build A 2D Graph In Java As A Picture?

Feb 3, 2011

I am trying to build a 2D plot for my data and I have the code for it. However, I want to save it as a jpg/png file so that I can have a link to it for my webpage. Below is the code:

Quote:

import java.awt.*;
import java.awt.font.*;
import java.awt.geom.*;
import javax.swing.*;

[Code].....

View 1 Replies


ADVERTISEMENT

Slackware :: Build - Change The Picture With Lilo.conf Doesn’t Work

May 5, 2010

when i load lilo, everything is greenish and weird, i tried to change the picture with Lilo.conf, fallowing the exact instruction given by linux forum, dosnt work. the linux logo got verry strange colors has well,verry ugly.

at first i tried to install my ati driver, but my x1800 is not supported anymore, so i decided to run xconfsetup to use the default ati driver. After that i have been in the xorg.conf generated by the setup and it seem they got the right driver, it say radeon in the device section. another problem i experience is that everytime i lod KDE my default resolution suck, and when i open the control panel and click on display, everything goes right.

the last problem is more serious, when i order my computer to shutdown either by command line or with the logout button, the screen goes black and nothing happen at all. Its sad beccause so far everything else seem to work fine, i installed my network card and my sound card properly.

View 14 Replies View Related

Programming :: Making A Graph In C

Dec 1, 2010

I am trying to understand how can I make a graph in C. So I wrote some program.

Code:
#include "declarations.h"
graph root = NULL;
int main()
{

[Code]....

View 6 Replies View Related

Programming :: Create Graph In Gnuplot ?

Jan 3, 2010

I need a script that takes data fom a file mydata.dat and create a graph. the content of mydata.dat is Bin Data1 Data2 Data3

Then it asks from the user to select which colums with use for x and which for y. the x and y titles must be generated automaticly by the names of each column from the first line of mydata.dat the limits must also be auto generated by the width of the column (for example for data2 is 12-45). in the end for graph title must shown the current time and date in this format:

So it asks for the user the columns and in the end it shows the graph with the above settings.

View 3 Replies View Related

Programming :: Gnuplot Graph Using Trace File

May 1, 2011

How to plot graphs for trace files generated in ns2 using xgraph and gnuplot.

View 7 Replies View Related

Programming :: Define A Structure Node In Graph?

Oct 27, 2010

I wanted to implement a graph.By graph I mean to say that I am writing programs for BFS,DFS and other such stuff and want to see them in action. For this I started writing a program.The first entry point is to define a graph. I took a pen and paper and made a graph. Now to be able to code this in C.I defined a structure but I am finding problem in defining this structure. I looked into Google and came across incidence list and adjacency list representation [URL] after understanding that I am not able to understand how do I define my structure that would be a node in graph. Here is what my graph looks like

Quote:

|-----------31
| |
| 2---4---6---8
| |

[code]....

View 3 Replies View Related

Programming :: Graph Creation Software (Graphviz / NetworkX)?

Apr 15, 2011

I am going to be creating some graph representations of neural networks for my thesis. I am trying to find a good method for drawing them, preferably in a scripting manner. I like NetworkX since I know python, but am also curious about GraphViz (though the documentation is sparse) or any other solutions anyone may know of. It is important that there is a decent ability to interface with LaTeX.

View 2 Replies View Related

Programming :: Utility That Draw The Graph Or Flow Chart Of An Application?

Oct 28, 2010

Does any one know any software or utility that draw the graph or flow chart of an application (if application code is on multiple files)?

View 1 Replies View Related

General :: Make Picture Icons Larger When Selecting A Picture File To Open?

Jul 27, 2011

I'm trying to use Pinta Image Editor but I cannot find an option to preview the image, in a viewable size, before I work on it.

what to do in this situation? Prefferably it would be nice to view all the pictures as thumbnails.

View 1 Replies View Related

Programming :: Put A Box Around A Picture On A Mouseover?

Apr 2, 2010

I have a set of images on my webpage,and when the mouse goes over them, I'd like a thin box around each image to tell the viewer that it's been selected (when clicked, it'll open a new window). How do I do this?

View 5 Replies View Related

OpenSUSE :: KDE 4.6 Taskmanager Popup Picture Instead Of A Picture Of The Actually Program

Jun 17, 2011

When I hover over an open programme which is on the task bar I get a pop up, but instead of a picture of the actually programme I get a grey box like this

View 3 Replies View Related

Ubuntu :: Edited A Picture In Digikam - Picture Does Not Appearance?

Jan 24, 2010

i had just edited a picture in digikam that was going to be my new desktop wallpaper.when i went into system/preferences/appearance to make the new change it would not show the new picture that i had just edited as a choice to change my new wallpaper to. then i tried closing the appearance box and it would not close.then i shut down and restarted and when i bring up the appearance box it does not let me click on anything within.also can't close it.seems like other applications are working normally.

View 9 Replies View Related

Programming :: Build A Simple Program For C Programming Class?

Feb 12, 2011

im trying to build a simple program for my C programming class, this is the source code

#include <stdio.h>
int main()
{
int length, width, length, height, area, perimeter;
perimeter = width + length + height;
area = width * length + heigth;

[Code]...

i dont see any error (you might)but every time i run it it runs but after it asks me to input for the width i do it but it doesn't take me to the length, it just stays blank until i input another value in the same place for the width, it asks me for 4 inputs in total i don;t know why, and after i run it different times it gives me different values for the perimeter and are. how can I fix this?

View 5 Replies View Related

Programming :: Build Ip Packet With C,socket Programming?

Jan 30, 2011

How can we build a packet using C?we have a structure called sockaddr_in which is use to for IPv4,so that we can define address,port and etc in this way:

Code:
struct sockaddr_in sock;
sock.sin_family=AF_INET;

[code]...

View 5 Replies View Related

Programming :: Groovy Scripting - An Object-oriented Programming Language For The Java Platform ?

Mar 7, 2010

Groovy is an object-oriented programming language for the Java platform. I do not have experience in Java, only perl and shell scripts. Recently I have been asked to maintain a software written in groovy (also to make enhancements). So can I learn groovy without knowing java language. or isit I have to learn java before venturing into groovy.

View 1 Replies View Related

Programming :: Build A Spi Program Using C++?

Jan 19, 2011

I'm trying to build a spi program using c++. I'm able to perform half-duplex transfers using the read/write functions, it works perfectly. Now I need to perform a full-duplex transfer, but I'm facing some problems. When I try to receive more than one byte, the slave returns to me only one byte.Ex: I send: FF FF FF FF FF The slave must return: 03 02 00 13 04 But what is happening is:

1st Transfer:

tx: FF FF FF FF FF
rx: 03 00 00 00 00

2nd Transfer:

tx: FF FF FF FF FF
rx: 02 00 00 00 00

[code].....

View 3 Replies View Related

Debian Programming :: Can't Build Android App

May 29, 2014

I'm trying to setup tools for developing android apps on my Debian Wheezy (backport) system. Eclipse with android plugins is installed. Android SDK installed using android-sdk_r22.6.2-linux.tgz available from URL...My problem is I can't build the android app. The console in Eclipse tells me something (translated) like this;

Code: Select all[2014-05-30 16:36:45 - adb] Unexpected exception 'Cannot run program "/usr/lib/android-sdk-linux/platform-tools/adb": java.io.IOException: error=2, No such file or directory' while attempting to get adb version from '/usr/lib/android-sdk-linux/platform-tools/adb'

I have searched the web quite extensively but found no solution. It seems the issue may be due to I'm having a 64bit system but building the app requires some 32bit stuff.Some older posts suggest adding package by "apt-get install ia32-libs". In later posts (i.e. URL....

Code: Select alldpkg --add-architecture i386
apt-get update
apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386

However doing apt-get install libc6:i386 asks me to remove 1536 installed packages and installing just 5 new...

Some info about my system ....
Code: Select all>uname -mrv
3.14-0.bpo.1-amd64 #1 SMP Debian 3.14.4-1~bpo70+1 (2014-05-14) x86_64

View 8 Replies View Related

Programming :: Ant Build.xml And Regular Expressions?

May 31, 2011

i am trying to create an exclude regular expression for my build.xml. The problem is, that i am trying to find some info on which REs are acceptable/valid for ant... Is ant using standard regular expressions? POSIX ones? Since it is a java-based tool, the "Java REs" are probably valid. I am a little bit confused. If somebody can help me out with the different RE standards, i would be most obliged.

View 1 Replies View Related

Programming :: Ant Build.xml File For Eclipse?

Mar 26, 2011

I've spent all day trying to figure how to write an ant build.xml file for eclipse. I must have read 20 sites on the web but some how I just am missing it I continue to get the error

Code:
/home/knox/workspace/HW/src/projectBuilder.xml:5: the file attribute is required
here is my file at this point after many variations
Code:
<?xml version="1.0" encoding="UTF-8"?>

[Code]...

It works fine if I leave out the Main-Class line in manifest but then the jar is not executable Dick

View 3 Replies View Related

Programming :: How To Build VS2005 Projects

Feb 3, 2011

I need to create a SW project both for Windows (written with MS Visual Studio 2005) and Linux. Currently I have a build script for windows and another for Linux. I would like to build the project for both platforms on a single PC. Is there a way of building VS2005 projects with Linux (not using Cmake)?

View 2 Replies View Related

Programming :: Can't Build Parted 2.3 On Kernel 2.6.34?

Jun 18, 2010

Im trying to build parted 2.3, but I always end-up in the same error:

Code:
In file included from arch/linux.c:42:
/usr/include/scsi/scsi.h:152: error: expected specifier-qualifier-list before 'u8'
/usr/include/scsi/scsi.h: In function 'scsi_varlen_cdb_length':
/usr/include/scsi/scsi.h:163: error: 'struct scsi_varlen_cdb_hdr' has no member named 'additional_cdb_length'

[Code]...

View 14 Replies View Related

Programming :: Build A Package Using A Different Lib Than The One Installed?

Jul 11, 2011

Is is possible to compile (but not install) a library, and then compile a package using that library instead of the version that's installed?

View 4 Replies View Related

Programming :: GCC And G++ Build Results If The -march=TYPE Is Not Specified?

May 25, 2010

I'm sure this has been covered somewhere before, but I couldn't find anything and so figured I would post here. I have been using Linux OSes for the past couple of years and also using GCC/G++ for application development. However, I have almost always been on x86 systems and never gained much experience using the wide range of optimization options available.

My question is, if I do not specify the -march=PROCTYPE option, will GCC still be able to detect the current architecture and build the code accordingly? I primarily ask this because I am working with an x86_64 system, and specifying -march=x86_64 in my makefiles generates errors about it being an unknown processor type, even though the CPU and OS are X86_64. I know this sounds like a newbie question, but it's just ground I've never had to cover before until now.

View 7 Replies View Related

Programming :: Build Whole Distribution From Source Codes?

Dec 11, 2008

I have downloaded whole linux source codes of fedora in a dvd. There are several rpm packages and lots of directories in it. I want to load all source codes to version control system (svn or cvs) which is loacated in a server and develop it step by step .During this time I want to build my own distribution. So I need to know how to build all these packages at once. Is there anyone who can explain "how to do" to me

View 1 Replies View Related

Programming :: How To Use X86 To Build Assemly Program For Arm Machine?

Apr 14, 2011

my build machine is x86 machine that is running ubuntu10.04, my target machine is tegra2 that is running on Andrioid, I wish my program can run under shell of android, as first step , I wrote a simplest assembly program which does nothing, but I got a link error, can somebody help me?

View 4 Replies View Related

Programming :: Anjuta And Geany: Build Menu Is Grayed Out?

Mar 25, 2010

I am new to using Linux (Debian) and I wanted to install an IDE that covers all languages (C++, Java, SQL) so I decided to try Anjuta, but when I entered a simple "Hello World" code and tried to run it, I noticed that the Build > Compile selection was grayed out. I read on another forum that Anjuta can only compile projects so I switched to Geany, same problem. Do I have to install a compiler?

View 1 Replies View Related

Programming :: Make A Automated Build-script With Bash?

Apr 14, 2010

I'm trying to make a automated build-script with bash but i keep getting different errors that I can't seem to figure out. Could anyone please tell me what's wrong with this package of build-scripts? I'm posting the main build-script and attaching the rest of the scripts in a compressed form. The errors mainly comes from the scripts in "/first_installation/usr/share/siem-live/init"

[Code]...

View 2 Replies View Related

Programming :: Build Screen Shot Application In C/c++ Like In Distros?

Feb 14, 2011

i want to make a screen capture program for linux as my software engineering project. but i am not getting from where to start. i have a bit knowlege of gtk and that of c/c++ but from where can i get other references which i should know for building it.

View 4 Replies View Related

Programming :: Make An Automated Build-script With Bash

Apr 14, 2010

I'm trying to make a automated build-script with bash but I keep getting different errors that I cant't seem to solve for various reasons. what's wrong with this build-script? I'm posing the main build-script and attaching the rest of the scripts in a compressed form. Buld-script link: [URL]

[Code]....

View 3 Replies View Related

Programming :: Coding Dilemma: Build Application With PHP Framework?

May 7, 2009

I've been a PHP developer for about 6 years now - the last two years I have been pretty inactive though. Just recently though, I have been reading resources on all the different programming patterns (Factory, Singleton, Registry, Observer, MVC, etc) to try and get my head around good programming techniques. For myself though I find that I can only truly understand how these methods work when I am forced to do them myself.I have a large project I am doing at my workplace (me only) that involves building a very complex PHP application.

I would like to know your professional opinion; should I spend the extra time to program this PHP application myself and really, properly learn all these different programming patterns? Or, should I just build on top of a PHP framework like the Zend Framework for speed's sake (and flexibility/features)?

I have found understanding exactly how the Zend Framework works hard, just because I haven't been exposed to using these programming patterns myself. I hate that - I want to fully understand exactly what is happening in my application and know exactly how each part relates to others.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved