0
$\begingroup$

how can I set an equal distance between the ticks of axes in a ggplot irrespective of the number of items I plot?

For example I want to have the kind of plot below from Seurat's DotPlot function such plots with Seurat's DotPlotfunction from this nature paper

Instead of the second plot below (still with Seurat's DotPlot function) where the spacing on the x-axis varies with respect to the number of genes plotted.this where number of items plotted affect spacing (or distances) on the axes

Thanks in advance for your kind help.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.