Skip to content

Commit dfd88a8

Browse files
committed
Fix small bug
1 parent e0494ec commit dfd88a8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/analysis/data_analysis.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1380,7 +1380,7 @@ function daDensity2DProjection(
13801380

13811381
# Reduce the resolution of the result using a logarithmic circular grid
13821382
# `reduce_factor` here is the number of bins for the circular grid
1383-
density, log_grid = projectIntoLogGrid(density, reduce_factor; log_shift=0.5e-3)
1383+
density, log_grid = projectIntoLinearGrid(density, reduce_factor; log_shift=0.5e-3)
13841384
x_axis = log_grid.x_axis .* grid.size[1]
13851385
y_axis = x_axis
13861386

@@ -1535,7 +1535,7 @@ function daGasSFR2DProjection(
15351535

15361536
# Reduce the resolution of the result using a logarithmic circular grid
15371537
# `reduce_factor` here is the number of bins for the circular grid
1538-
sfr, log_grid = projectIntoLogGrid(sfr, reduce_factor; log_shift=0.5e-3)
1538+
sfr, log_grid = projectIntoLinearGrid(sfr, reduce_factor; log_shift=0.5e-3)
15391539
x_axis = log_grid.x_axis .* grid.size[1]
15401540
y_axis = x_axis
15411541

src/plotting/convenience.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3728,7 +3728,7 @@ function kennicuttSchmidtLaw(
37283728
end
37293729

37303730
# Set the plot theme
3731-
if integrated || reduce_grid == :circular
3731+
if integrated || reduce_grid [:circular, :log_circular]
37323732
markersize = 20
37333733
else
37343734
markersize = 6

0 commit comments

Comments
 (0)