agilescientific / welly

Welly helps with well loading, wireline logs, log quality, data science
https://code.agilescientific.com/welly
Apache License 2.0
316 stars 132 forks source link

Keyword for setting plot vertical scale? #21

Open EvanBianco opened 8 years ago

EvanBianco commented 8 years ago

Should we allow a keyword to be passed into welly's plot method to set the vertical scale of the figure?

Options could include:

would need to get the basis being plotted, to find its native scale and then apply conversion factor.

fig = matplotlib.pyplot.gcf() fig.set_size_inches(18.5, 10.5) fig.savefig('test2png.png', dpi=100)

(Multi-section plotting could have a similar treatment for horizontal scaling between wells)

kwinkunks commented 8 years ago

I like the ratio best I think. A bit like aspect, which I have for Striplog. I like to be able to get something 'tall' or 'short' without having to think about it.

On Tue, 1 Mar 2016, 16:59 Evan Bianco, notifications@github.com wrote:

Should we allow a keyword to be passed into welly's plot method to set the vertical scale of the figure?

Options could include:

  • ratio of actual size: (1:5000, 1:2500, 1:1250, 1:500, 1:250, most common ones?),
  • inches per second: (for synthetics, say, or Striplog data with a time-domain basis)

would need to get the basis being plotted, to find its native scale and then apply conversion factor.

fig = matplotlib.pyplot.gcf() fig.set_size_inches(18.5, 10.5) fig.savefig('test2png.png', dpi=100)

(Multi-section plotting could have a similar treatment for horizontal scaling between wells)

— Reply to this email directly or view it on GitHub https://github.com/agile-geoscience/welly/issues/21.