new sddsplot options (for 2D lattice layout)

Moderators: cyao, michael_borland

Post Reply
petrenko
Posts: 43
Joined: 09 Jun 2008, 02:53
Contact:

new sddsplot options (for 2D lattice layout)

Post by petrenko » 15 Dec 2008, 04:43

Hi!

I figured out how to plot quite a nice picture of accelerator layout using floor_coordinates command in Elegant.
I hope somebody will also find this simple script useful.

In this connection I would like to suggest a number of new features for sddsplot:

1) Make it possible to keep the same aspect ratio for the picture if sddsplot-window is resized (simply add more horizontal or vertical blank space around the picture). Or even make this the default when -aspectRatio option is used.
2) Use the -string option to create a link that executes a command if clicked. I actually want to use such links instead of the text labels in order to access the element properties operating the real machine (to set the currents, see the BPM signals etc.) Maybe it's already implemented as "edit=<edit-command>" option but I just don't know what this option means. Could you explain it please? This option does not seem to produce any effect both in Linux and in Windows.
3) Add a Google Maps-like scroll to sddsplot when zoom is used.
4) Add -pipe=in option for sddsplot and something like -remove_Input_File_On_Exit option to plot temporary files.

Also please consider implementing -repeat[=checkSeconds=number] option as well as the "Improved Zoom" feature in Windows.

Thanks in advance!

Alexey.
Attachments
Floor coordinates.tar.gz
(58.35 KiB) Downloaded 1028 times
Damping Ring.png
Last edited by petrenko on 16 Dec 2008, 22:54, edited 1 time in total.

michael_borland
Posts: 1797
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: new sddsplot options (for 2D lattice layout)

Post by michael_borland » 15 Dec 2008, 10:36

Alexey,

Thanks for posting this. I'm very impressed by how nice the plot is.

We'll certainly consider your suggestions (though some might not be so easy).

The edit=<command> feature on the -string option is meant to be used with the -string=@<parameterName> syntax. The idea is that if the string is taken from a parameter in the SDDS file (instead of being given explicitly on the commandline), then the user may want to automatically edit the string.

--Michael

petrenko
Posts: 43
Joined: 09 Jun 2008, 02:53
Contact:

Re: new sddsplot options (for 2D lattice layout)

Post by petrenko » 16 Dec 2008, 00:07

Thank you, Michael! I see the point now. This is the SDDS-edit, not the interactive edit as I expected.
Still, links + tcl-dialogs may add some interactivity into the sddsplot.

Post Reply