-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert Layer1D to Layer2D and back #97
Comments
@kmun are you familiar with the xCut and yCut behavior of Layer2D? If not, see if that works for you. Basically if you hover the mouse over a position on a raster and press X it will make a 1D representation of the x (or y) axis at that location. You then press X again to leave the cut. |
The other option, if you know how to accomplish it in code, is to make your own key-binding or menu contribution. If you want to go down that route let me know. |
Yes, thanks. I do you the X and Y cuts all the time. I actually want to see all the traces as different colors.
Thanks,
Kam
if (this.properties.draw_center_line) {
ctx.lineWidth = (this.properties.center_line_style.lineWidth !== undefined) ? this.properties.center_line_style.lineWidth : 1;
ctx.lineCap = (this.properties.center_line_style.lineCap !== undefined) ? this.properties.center_line_style.lineCap : "square";
ctx.strokeStyle = (this.properties.center_line_style.strokeStyle !== undefined) ? this.properties.center_line_style.strokeStyle : Mx.fg;
if (this.dragging || this.properties.highlight) {
ctx.lineWidth = Math.ceil(ctx.lineWidth * 1.2);
}
if (this.properties.direction === "vertical") {
ctx.beginPath();
ctx.moveTo(this.properties.center_location + 0.5, Mx.t);
ctx.lineTo(this.properties.center_location + 0.5, Mx.b);
ctx.stroke();
} else if (this.properties.direction === "horizontal") {
ctx.beginPath();
ctx.moveTo(Mx.l, this.properties.center_location + 0.5);
ctx.lineTo(Mx.r, this.properties.center_location + 0.5);
ctx.stroke();
}
}
}
From: maihde <[email protected]>
Sent: Friday, October 9, 2020 5:59 PM
To: LGSInnovations/sigplot <[email protected]>
Cc: Mun, Kam U (US) <[email protected]>; Mention <[email protected]>
Subject: Re: [LGSInnovations/sigplot] Convert Layer1D to Layer2D and back (#97)
*** WARNING ***
EXTERNAL EMAIL -- This message originates from outside our organization.
@kmun<https://github.com/kmun> are you familiar with the xCut and yCut behavior of Layer2D? If not, see if that works for you. Basically if you hover the mouse over a position on a raster and press X it will make a 1D representation of the x (or y) axis at that location. You then press X again to leave the cut.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#97 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AK4LRSVLM76NEBG23YXPN7DSJ6BT3ANCNFSM4SKML7BQ>.
|
Thanks, I just coded it up.
From: maihde <[email protected]>
Sent: Friday, October 9, 2020 6:18 PM
To: LGSInnovations/sigplot <[email protected]>
Cc: Mun, Kam U (US) <[email protected]>; Mention <[email protected]>
Subject: Re: [LGSInnovations/sigplot] Convert Layer1D to Layer2D and back (#97)
*** WARNING ***
EXTERNAL EMAIL -- This message originates from outside our organization.
The other option, if you know how to accomplish it in code, is to make your own key-binding or menu contribution. If you want to go down that route let me know.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#97 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AK4LRSQ6K25RK7VZ2W42GITSJ6DYVANCNFSM4SKML7BQ>.
|
Is your feature request related to a problem? Please describe.
I would like to change a Layer2D static spectral plot (waterfall plot) that is currently being displayed on the screen to a set of individual colored traces, i.e. if the waterfall plot has 8 rows, create an 8 trace plot (either flat or 3d, doesn't matter to me). I know how to do it in software, but I was wondering if you can do it interactively on the screen, i.e. the user can switch between the two plotting formats via the built in menu. I don't see it as an option, but maybe I'm missing something.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: