Is there a custom y-axis for graph2d visualizations? - vis.js

I would like custom intervals for the y-axis. The (dataAxis.left.format) function seems to only alter the value label not the value itself.
I tried using the (dataAxis.left.range.max) to set the max on the graph and still no luck adjusting the labeling.
Any help would be appreciated!

Related

Increase Labelsize in Julia Plots

I am creating a plot using Plots in Julia. I was trying to increase the size of the labels and also the values on the axes but couldn't find the right keyword arg (I thought it was annotationfontsize but that doesn't seem to work). Does anyone know the right arg?
I think you're looking for guidefontsize and tickfontsize. You can check all the axis attributes in the documentation. For example,
julia> plot(rand(10); xtickfontsize=5, xlab="Big label, small tick labels", xguidefontsize=20)
will give you something like

I need to remove labels with 0 value [LibreOffice Calc]

I am creating a very basic dashboard in libreoffice Calc. Right now I am trying to create some piecharts and bar charts. I am facing similar problem with both this type of charts.
Piecharts: I have ALL the labels to the right of the chart, even if those labels have an actual value of 0. I want labels with 0 value not to be displayed.
Bar charts: Similar to Piecharts, I want the chart not to display those X values with 0.
I am using LibreOffice Calc 6.4.7.2
If anyone can help me.
Just filter the source data table
If you want to see the entire data table, you can put the filtering result in another place and build a diagram based on this trimmed data.

Legend in gelman.plot

I need help with the command gelman.plot of the package coda.
I would like to know if it is possible to increase the size of the legend (that indicates the median and 97.5% upper confidence limit).
I managed to increase the size of labels, title and axis values, but not of the legend.
In case this is not possible, I would like to know if there is a way to not display the legend at all.
Thank you.
I tried to solve it on my own and the only solution I found was to modify (temporarily) the function ''gelman.plot'' in the package ''coda'' using the command ''trace(gelman.plot, edit = TRUE)'' and then removing the part concerning the legend.
I post this in case anyone needs it.

Labelling X and Y axis in Dymola plot

I have drawn a plot using "plotArrays" function in Dymola. I would like to label X-axis in meters(Ideally, I need it to be flexible so that I can later change it to millimeters, micrometers, etc..). I want to label Y-axis similarly in volts which I have done already using
plotArrays(x_axis,phie,legend=names,units=fill("V",size(phie,2)));
and I can read the values in volts and also change to mV etc.. However, its not 'visible' in Y-axis as you can see in the plot below. So, How can I label the axes separately?
Thanks a lot!
I don't know any more efficient possibility than this:
createPlot(id=1, erase=false, grid=true, leftTitleType=2, leftTitle="myLabelY", bottomTitleType=2, bottomTitle="myLabelX")
with:
id being the number shown in the original plot
erase=false to ensure that the content is not modified
grid=true (re-)enabling the grid
*TitleType=2 saying that there is a custom title
*Title being the string to put there
This will result in the plot being resized to the default size. You can use plotSetup() to get the current setup, including position, which you can then pass (manually) to the createPlot() command to result in the original size again.
Not very elegant, but I don't know any other possibility...

R HighChart Legend

Now, I use the package named highcharter[2] of R to draw some charts.
I have drawn the chart like this
As we can see, the legend is default use the range to represents the color,
such as range from 0 to 50 represents green.I want to change the legend value.
Use String like good to represents the range from 0 to 50, and so on.
I want to know how to change the legend labels in R.I have tried use JavaScript,
but I don't know how to call the rollback function, I have seen that It
has the attribute labelformat[3], But I can't understand the usage, Is anybody can help me? Thank you!
[2]:R package
[3]attribute

Resources