overlay graph on stack section


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting overlay graph on stack section
# 1  
Old 12-28-2011
overlay graph on stack section

i want to overlay graph on stack section , but there are problem with color. this is my script:

awk '{print $2,$1}' ofsettTWT2.data > data &&
a2b n1=2 < data > data.bin &&
psgraph n=537 x2beg=0 d2num=0.0 x2end=13000 x1beg=0 x1end=5 < data.bin linewidth=0 marksize=8 style=seismic wbox=20 hbox=10 linecolor=red > data.ps &&
convert data.ps data.png &&
supsimage < stack.su width=20 height=10 perc=98 x2beg=0 key=sx f2=0 d2num=0.0 x2end=13000 x1beg=0 x1end=5 threecolor=1 wrgb=0,0.35,1 grgb=0.35,1,0 brgb=1,0.35,0 d1s=0.5 d2s=0.5 > Stack.ps &&
psmerge in=Stack.ps in=data.ps > Stack_fix.ps &&
convert Stack_fix.ps Stack_fix.png

image Stack_fix.png and suximage < stack.su don't have same color. color of Stack_fix.png blocky. How to make script in order to be (psfile.ps) can be ploted interactively at suximage....so i can change color interactively (press h or r)................( example, suximage < data.su psfile.ps.................. )



thx...
indah
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Programming

Client Server on Pastry Overlay

Hello, Please, I have a little problem, I hope you propose a solution. Thank you very much. I developed a client task in C and a server task in C. The client needs the server IP address to connect to the server. With Freepastry , I don't know in advance which machine will run the client and... (0 Replies)
Discussion started by: chercheur111
0 Replies

2. IP Networking

FreePastry overlay

Hello ; Is there anybody who works with freepastry API, I have a question please? Thank you (0 Replies)
Discussion started by: chercheur857
0 Replies

3. IP Networking

FreePastry overlay

Hello, I work with Freepastry API (overlay: pastry) I would like someone to explain me this situation I have a machine A: ip = @ 196.205.x.y ifconfig: eth0 = 196.205.x.y and lo I can ping this address 196.205.xy from another machine -> I run freepastry it work on this @ I have... (0 Replies)
Discussion started by: chercheur857
0 Replies

4. UNIX for Dummies Questions & Answers

Kernel Stack vs User Mode Stack

Hi, I am new to the linux kernel development area. I want to know what is the difference between kernel mode stack and user mode stack? Does each process has a user mode stack and a kernel mode stack?? Or Each process has a user mode stack and there is only one kernel mode stack that is shared by... (4 Replies)
Discussion started by: saurabhkoar
4 Replies

5. Shell Programming and Scripting

Prepend first line of section to each line until the next section header

I have searched in a variety of ways in a variety of places but have come up empty. I would like to prepend a portion of a section header to each following line until the next section header. I have been using sed for most things up until now but I'd go for a solution in just about anything--... (7 Replies)
Discussion started by: pagrus
7 Replies

6. Shell Programming and Scripting

Extract section of file based on word in section

I have a list of Servers in no particular order as follows: virtualMachines="IIBSBS IIBVICDMS01 IIBVICMA01"And I am generating some output from a pre-existing script that gives me the following (this is a sample output selection). 9/17/2010 8:00:05 PM: Normal backup using VDRBACKUPS... (2 Replies)
Discussion started by: jelloir
2 Replies

7. UNIX and Linux Applications

xlib: allow overlay of other windows in full-screen

Hi, I am using the feh slideshow program in full-screen mode. While the slide show is in progress I would like to draw some other windows (something like clock or calendar from gdesklets) on top of this slideshow. Currently feh does not allow me to do that. Below is the code that feh uses to... (0 Replies)
Discussion started by: aerosmith
0 Replies

8. UNIX for Advanced & Expert Users

vfstab overlay mount

How can I specify and the -O (overlay option) in the vfstab ? Also can you specify the overlay option to the mount options for a Vertias cluster NFS service group ? (0 Replies)
Discussion started by: wjones
0 Replies
Login or Register to Ask a Question
XkbAddGeomOverlay(3)						   XKB FUNCTIONS					      XkbAddGeomOverlay(3)

NAME
XkbAddGeomOverlay - Add one overlay to a section SYNOPSIS
XkbOverlayPtr XkbAddGeomOverlay (XkbSectionPtr section, Atom name, int sz_rows); ARGUMENTS
- section section to which an overlay will be added - name name of the overlay - sz_rows number of rows to reserve in the overlay DESCRIPTION
Xkb provides functions to add a single new element to the top-level keyboard geometry. In each case the num_ * fields of the corresponding structure is incremented by 1. These functions do not change sz_* unless there is no more room in the array. Some of these functions fill in the values of the element's structure from the arguments. For other functions, you must explicitly write code to fill the structure's elements. The top-level geometry description includes a list of geometry properties. A geometry property associates an arbitrary string with an equally arbitrary name. Programs that display images of keyboards can use geometry properties as hints, but they are not interpreted by Xkb. No other geometry structures refer to geometry properties. XkbAddGeomOverlay adds an overlay with the specified name to the specified section. The new overlay is created with space allocated for sz_rows rows. If an overlay with name name already exists in the section, a pointer to the existing overlay is returned. XkbAddGeomOverlay returns NULL if any of the parameters is empty or if it was not able to allocate space for the overlay. To allocate space for an arbitrary number of overlays to a section, use the XkbAllocGeomOverlay function. STRUCTURES
typedef struct _XkbOverlayRec { Atom name; /* overlay name */ XkbSectionPtr section_under; /* the section under this overlay */ unsigned short num_rows; /* number of rows in the rows array */ unsigned short sz_rows; /* size of the rows array */ XkbOverlayRowPtr rows; /* array of rows in the overlay */ XkbBoundsPtr bounds; /* bounding box for the overlay */ } XkbOverlayRec,*XkbOverlayPtr; SEE ALSO
XkbAllocGeomOverlay(3) X Version 11 libX11 1.5.0 XkbAddGeomOverlay(3)