Design a panel with simultaneously display function?


I try to design a panel to deal with data processing.

My data form is 2D waves, so I need to recale the axis and normalize.......

Ideally, there would be panel with some bottoms to process my datas and most importmently it shoud display my 2D waves simultaneously .

But my problem is :how do I insert a box that displaying my wave simultaneously in grey scale to the panel?

Just like the plot function in the "Data Browser" that can display the wave you choose, but I still X and Y axis.

My poor English is not good enough to express my thoughts........

Please help me, thanks a lot.
I'm not quite sure what you're asking, but I suspect there are two possibilities to do what I think you wish to do.

The first is to create a graph displaying your waves and then add a control bar to the graph. You can put controls on the control bar that change properties of the graph. For more information, execute the following command at the Igor Pro command line:
DisplayHelpTopic "Controls in Graphs"

To get an idea of how to do this, you might want to look at some of our example experiments, which can be accessed using the following menu items:

  • File->Example Experiments->Feature Demos 2->Graph Grid Demo

  • File->Example Experiments->Techniques->Trace Graph

  • File->Example Experiments->Feature Demos->Smooth Curve Through Noise



The second possibility is to embed a graph subwindow in another window, most likely a panel. This approach would be most similar to the Data Browser. You can read more about how to do this by executing:
DisplayHelpTopic "Embedding and Subwindows" and DisplayHelpTopic "Control Panels".

And perhaps part of your question is what commands to use to make a graph with an image. That would be NewImage and AppendImage. NewImage makes a couple of common choices for the axis formats; you also use Display;AppendImage yourimagewave.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
I really appreciate your kindly replies!!

Your suggestions are really what I want.

Thank you~~
The panel in the "CWT demo experiment" is just what I want!!!

I would like to embed a image subwindow in my panel. But I don't really understand how to code.

It seems to use "Display/W=(0.5,0.14,0.9,0.7)/HOST=# sam" --> refered to the help docuement.

Is there any accesst to see the "CWT demo experiment" original codes? I'd like to learn from the example.

Thanks.
rooket wrote:
The panel in the "CWT demo experiment" is just what I want!!!
Is there any accesst to see the "CWT demo experiment" original codes? I'd like to learn from the example.

Thanks.

Sure! Just open the CWT demo experiment, and choose the "Procedure" item from Igor's "Windows" menu.

Search for "Display", and take a look around.

Software Engineer, WaveMetrics, Inc.
To learn about subwindows, execute this in Igor:

DisplayHelpTopic "Embedding and Subwindows"