Skip to content
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

what syntax should we support? #1

Open
zingale opened this issue Sep 4, 2017 · 1 comment
Open

what syntax should we support? #1

zingale opened this issue Sep 4, 2017 · 1 comment

Comments

@zingale
Copy link
Member

zingale commented Sep 4, 2017

We want to make something inspired by gnuplot to make quick exploratory plots of our AMR data, building from yt.

a sample session:

plot 'plt00000' using "temp"
set logscale
set xrange [0:10]
replot
save "figure.png"

most of these have analogs to gnuplot, except save is much simpler than setting a terminal, output, and replotting as we need to do in gnuplot.

some other bits:

  • what syntax do we use for making 1-d slices?
  • for 3-d, is it assumed that we always want to plot the three slice planes? should we have a set origin (x,y,z)?
@adam-m-jcbs
Copy link
Member

adam-m-jcbs commented Sep 5, 2017

what syntax do we use for making 1-d slices?

Maybe profile? or some variation of that.

for 3-d, is it assumed that we always want to plot the three slice planes? should we have a set origin (x,y,z)?

I find that even with 3-d I tend to want just a single plane slice. Three slice could be an option, but my vote would be for a single slice for both 2- and 3-d. For the origin, I'd default to the simulation's coordinates but have the option to set the origin. For example, in full star simulations the origin is usually the corner of the box but the star's center is the center of the domain. In these cases it might be nice to make plots with a custom origin at the domain's center.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants