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
glutOverlayDisplayFunc(3GLUT)					       GLUT					     glutOverlayDisplayFunc(3GLUT)

NAME
glutOverlayDisplayFunc - sets the overlay display callback for the current window. SYNTAX
void glutOverlayDisplayFunc(void (*func)(void)); ARGUMENTS
func The new overlay display callback function. DESCRIPTION
glutDisplayFunc sets the overlay display callback for the current window. The overlay display callback is functionally the same as the win- dow's display callback except that the overlay display callback is used to redisplay the window's overlay. When GLUT determines that the overlay plane for the window needs to be redisplayed, the overlay display callback for the window is called. Before the callback, the current window is set to the window needing to be redisplayed and the layer in use is set to the overlay. The overlay display callback is called with no parameters. The entire overlay region should be redisplayed in response to the callback (this includes ancillary buffers if your program depends on their state). GLUT determines when the overlay display callback should be triggered based on the window's overlay redisplay state. The overlay redisplay state for a window can be either set explicitly by calling glutPostOverlayRedisplay or implicitly as the result of window damage reported by the window system. Multiple posted overlay redisplays for a window are coalesced by GLUT to minimize the number of overlay display call- backs called. Upon return from the overlay display callback, the overlay damaged state of the window (returned by calling glutLayerGet(GLUT_OVERLAY_DAM- AGED) is cleared. The overlay display callback can be deregistered by passing NULL to glutOverlayDisplayFunc. The overlay display callback is initially NULL when an overlay is established. See glutDisplayFunc to understand how the display callback alone is used if an overlay display callback is not registered. SEE ALSO
glutDisplayFunc, glutPostOverlayRedisplay AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutOverlayDisplayFunc(3GLUT)