General :: Plot Band Structure Using Wien2k?
Sep 28, 2010
I want to plot band structure using Wien2k and for this I have to make a file named "case.klist_band". But I have a Rhomhedral compound . There is written to make the file using xcrysden but I donot know how to make the file from xcrysden.
View 2 Replies
ADVERTISEMENT
Nov 11, 2010
I'm curious if anyone know how to plot stem-and-leaf plot using perl? Basically, what I was wanting to do is read a bunch of numbers from a text file into an array, sort from smallest to biggest, and plot the following (last digit serves as the "leaf", so for example, for the following graph, going down from top to bottom is 7, 7, 12, 13, 18, 18, 23, 25, 27, 27, 27, 27, 27, 27, 28, 28, 29, 59, 30, 31, 31 etc.):
[Code]....
View 1 Replies
View Related
Mar 6, 2011
I want to use xplot in order to plot a spectrum but when I executed the code by typing "xplot qso.fits" in terminal it returned the following error one after the other so I was force to stop the program using "Ctrl + C". (I am using Ubuntu 10.4 and I have also PGPLOT installed on my Linux).
[Code]...
View 1 Replies
View Related
Mar 20, 2011
how can i plot x graph Ubuntu by using awk scripts indicating how can i change awk files into xgr files,
View 13 Replies
View Related
Jun 28, 2014
I need some C++ graphical lib to work with gtk+.
What I want is to plot like jQplot: [URL] .....
View 1 Replies
View Related
Jul 16, 2011
i just started dabbling with this Linux program Fedora and i go to school for cpu forencics but havnt reached Linux+ yet.
View 13 Replies
View Related
Jun 24, 2011
I've the following file structure that I would like to add to git.
Code:
These are big directories and I don't need them all checked out. I only need the src directory. After I commit the files in the /app/src, it must be pushed to a remote site.
If I want only to checkout the src directory to work on, it's important to create a special file structure in git? For example, instead of doing git init on app general directory, should I do git init on all subdirectories?
Is it possible to checkout only part of a file structure in git?
View 1 Replies
View Related
Jul 8, 2011
I'm using 64-bit fedora 14 on my desktop. i was using gnuplot, but there was some power failure and my computer got shut down. now whenever i plot anything it freezes after first plot i have to force quit it
View 7 Replies
View Related
May 17, 2010
I have openSUSE 11.1, DELL vostro 1500 with NVIDIA card (Which type?). I am runnnig SCilab 5.1.1 which crashes on plot. The same scilab runs on the same computer through Windows Vista (I have dual boot). I suppose this is a linux problem.
View 1 Replies
View Related
Mar 22, 2011
how do i plot the trace file into a graph? can any 1 show an example here? just any trace file will do
View 13 Replies
View Related
Apr 6, 2010
It's been a while since I did any kind of graphics programming, but I would like to start learning how to do graphics stuff in *nix. I started reading the GTK+ 2.0 Tutorial, but a) I've only been able to write a small "Hello World" program, and that tested my patience, and b) I'm not seeing anything which allows you to plot a pixel directly. Back before I migrated to Linux, I used the Windows GDI SetPixel() function for plotting pixels sequentially (this was for a small fractal generator). Mostly what I'm asking is if there's any kind of equivalent function in *nix graphics APIs? GTK+? Would I have to deal with SDL/OpenGL?
View 3 Replies
View Related
Mar 20, 2011
My clearly outdated Linux course I'M using is telling me that the directory structure for building RPMs is in /usr/src/redhat, but on my redhat system, there is only /usr/src/ > debug & > kernels, folders.
View 5 Replies
View Related
Mar 31, 2011
So I'm trying to teach myself to write programs for unix in c. I am currently creating a program, and I need to pass a struct through a socket
The struct I want to pass has two types in it, one enum and one union of two other structs. These two other structs each contain an int and a char variablename[256] array.
gcc won't let me just pass the struct using write(pipefd[1], struct, size_of_struct) since the struct is not a char buffer. So that's my question...how does one go about passing a struct?
View 1 Replies
View Related
May 21, 2010
I am playing around with pthreads. This program however blows up.
#include <iostream>
#include <pthread.h>
using namespace std;
struct myStruct
{
int a;
string msg;
};
void * myProc(void *arg)
{
struct myStruct* str = new struct myStruct();
str->a = 10;
str->msg ="hi";
return (void*)str;
}
int main(int argc, char **argv)
{
pthread_t mythr;
int status ;
void *retVal;
struct myStruct* m_str;
status = pthread_create(&mythr,NULL,myProc,NULL);
status = pthread_join(mythr,&retVal);
cout<<"Status is"<<status<<endl;
m_str = (struct myStruct*)m_str;
cout<<"retval is "<<m_str->a<<" "<<endl;
return 0;
}
Can a structure be returned by a thread as its return value ?
View 1 Replies
View Related
Oct 28, 2010
How do I plot error bars for say, every 100th point, instead of for every single point? At the moment my plot looks like a thick band instead of a thin curve, since every point has an error bar attached to it.
View 2 Replies
View Related
May 20, 2010
I am using RHEL 4.4. Last time when I reboot my server it generate an error, and mention to run fsck command in repair mode. When I ran, this fix some problems, but after that it generate an error of gdm and X11 services after showing login sceen and getting user name and passwod. But I login via putty from a remote system. So, when I tried to make changes like create directory or file or even tried to make any change in any file it generate an error that " you can not make changes in read only file system".
View 10 Replies
View Related
Apr 13, 2011
diff has the ability to trasverse directory structures. cmp has the ability to manage binary files.
I'm looking for something which allows me to compare a directory's contents, including files and subdirectories, and so a binary comparison.
Any suggestions, scripts, etc. which may be of help?
Some of my directories are huge, with huge (image) files in them.
View 2 Replies
View Related
Apr 8, 2010
How do I download all the files form here: [URL]. I am on freeBSD 7.0 and I tried wget with the -r switch and it gives me URL's only. Maybe this is simply not an ftp site I don't know. How I can download all those files with the same directory structure.
View 5 Replies
View Related
Apr 1, 2010
I am new to gnuplot linux based plotting tool. I am trying to plot data from multiple data files and I want each plot to be open in a separate window. This is not happening in gnuplot script I have written, it holds the current window and plots the next data on the same window.A way I found to see separate plots was to use multiplot, but this plots multiple plots in the same window. Can someone tell me how to plot multiple plots in separate window in gnuplot? I could not find the answer in documentation/man pages.
[Code]...
View 1 Replies
View Related
Aug 10, 2009
I have used linux for a web server but only installed a couple items on top of the OS but would like to begin using linux more often on my own home machine. However, I also like to keep things clean and organized, and know what is going on when I do something. I have some sample C scripts for network programming, and they came as a downloadable package with a readme including the make / configure instructions to get it all set up, and then I can compile individual scripts as needed.
I was wondering - when I run make and those first few commands - where does it all go? Will all the new activity be confined to the folder I am in, meaning I can easily remove it all by simply deleting the folder when I am done (I won't want all this sample networking stuff forever, you know). Or, does it get placed into other directories throughout the file system?
I know when installing some apps that the files are placed in directories such as usr/bin and the like - my assumption is this happens when running make and make install commands - if so, how do we get rid of them when finished?
I just want to keep the system somewhat clean if possible, and the very least like to know what is being installed and to where - and have the option to remove it easily at a later date if I choose to do so.
View 2 Replies
View Related
Feb 12, 2010
Amarok is nice, and currently the only thing I've tried that will actually play audio from network shares and not lock up. Only problem is that it doesn't seem to list my library by directory/folder structure.. only album/artist/genre or some variation thereof. Is there anything that does list by folder structure?
View 3 Replies
View Related
Jul 22, 2010
does any one knows a linux based program/script that can generate html files based on directory structure?
View 1 Replies
View Related
Jul 20, 2011
I would like to find the command that copy my eclipse options to another workspace code...
It doesn't work, and it could be source of error to write the path .metadata/.plugins manually. It certainly a better idea to create a complete script ?
View 1 Replies
View Related
Apr 19, 2011
Is there a way to force rsync to not make directories in its destination directory; ie, to simply dump all of the files from the source directory directly into the destination without copying any of the folders that the files were originally in? I tried --no-dirs, but that seems to only be for empty directories.
View 1 Replies
View Related
Feb 3, 2010
Basically I need to rename a bunch of .doc files using the for-structure and the mv command (w/ wildcards) in bash. I guess this would be a bit easier if I'd use the rename command, but since this is a school assignment of sorts I need to use for & mv. The .doc files are named "1filename.doc", "2filename.doc" etc. And I've got to rename them to "aaa_1filename.doc", "aaa_2filename.doc", "aaa_3filename.doc" and so on. Tried to dabble quite a bit with the for and mv commands, basically just got a bunch of errors. Every damn time. For 2 hours. The most common error was "mv: missing destination file operand after ..."
View 6 Replies
View Related
Feb 3, 2011
I am using the vizio dual band and it is working quite well with one exception. i can not get it to access the usb network media.( hard drive plugged into usb port on router) it does recognize the the drive being there, it just will not allow me to access it. when i click on it nothing happens.
View 1 Replies
View Related
May 10, 2011
I'm running Maverick on an HP dv6 laptop. I tried recording a video via VLC with the machine's 'TrueVision' webcam. The result seemed to lack audio, so I had a look in preferences > sound. The input tab had the mute button ticked, so I unticked it and tried adjusting the level (while realising I was probably just configuring the mic port and not the webcam's inbuilt mics).
Then things turned bad: pointer became sluggish, and changes I made to the level slider took ages to be reflected visually on screen. I queued up a pile of clicks on the 'close' button and went away for a while. On return, I was met with a box inviting me to stop a script with some screen-width-long incomprehensible name, which of course I did.
Now the system's in a state which sees windows missing title bars (tho' not menu bars) and (more problematically) the upper and lower bars on the desktop absent. I issued a hibernate command from the terminal in the hope that on waking the system would be 'fixed', but nothing changed. I tried alt-tabbing to access my open applications and close them gracefully but this command is ignored. I have 'zillions' of apps going with unsaved data and am not sure what to try next. I'd be happy just to be able to task switch to each open prog and exit it gracefully then restart. But my knowledge of the command line is such that your help is required =) .
View 6 Replies
View Related
Jul 22, 2010
What is the best and simplest way to compare two directory structures without actually comparing the data in files. This works fine:
diff -qr dir1 dir2
But it's really slow because it's comparing files too. Is there a switch for diff or another simple cli tool to do this?
View 4 Replies
View Related
Feb 22, 2011
I will be doing actual development and testing on the same machine as the server. It is a single user machine in the sense that I will be the only one working on the machine. There will be multiple hosted languages, specifically PHP and RoR while possibly expanding later. I'd like the setup to translate well to a production environment. With those 3 things in mind there are a couple of things I've had in the back of mind.Seeing as it's a single user machine I haven't been able to decide whether or not I should be working on things out of my home directory or if they should be located outside of it.I'm feeling that outside of a user directory would be better as it would translate better to a production environment, but I'm also not sure if that will come with any permission annoyances or concerns seeing as I'll be working on the same machine. Hosting multiple languages seems like it may be a bit quirky. With PHP I've found you're generally just dumping the project somewhere in the document root where as something like a Rails app you have the entire project and you only want the public directory in the document root.
View 1 Replies
View Related
Sep 16, 2011
I need to recreate in a local folder called /distro/fedora/ the full directory tree (including eventually hidden files, symlinks, etc.) contained in the .iso file just downloaded (Fedora-15-i686-Live-Desktop.iso).
I understand I can mount the ISO image using something like this:
mount -ro loop /path/to/image.iso /mnt
but then, which would be the best way to get a copy exact of what I see underneath /mnt in to /distro/fedora ?
cp, tar, clobber?
View 1 Replies
View Related