nmacsai

205 Reputation

7 Badges

3 years, 59 days

MaplePrimes Activity


These are questions asked by nmacsai

When you look at negative horiztonal values on a basic plot, the axis labels can be obscured by gridlines or the plot itself. I have been told many times to keep axis labels and gradation labels outside of the plotting area to avoid adding more information than is neccessary in the actual plotting area. Is there a way to move the label to the other side and rotate it by 180 degree? How do people normally deal with this issue?

See my example of how the axis labels can be obscured by gridlines.

axis_label_on_wrong_side_of_axis.mw

counts_and_bins_data_output_from_histogram().mw

The Historgram( ) function is the combination of a binning computation and a visualization of the result of the binning computation. In order to generate any histogram you need to know the set of bin boundaries and the number of counts in each bin.

 

These bin boundaries look like: bin_bounds := [[`x__1,min`, `x__1,max`], [`x__2,min`, `x__2,max`], () .. (), [`x__N,min`, `x__N,max`]]where there are N bins in total.

The counts data looks like: counts := [H__1, H__2, () .. (), H__N]where there are N bins in total.

 

The Histogram( ) command passed this data around internally. Can I have Histogram( ) output this data? In other words, can I get the x-y data from the histogram, the bins-counts data?


Download counts_and_bins_data_output_from_histogram().mw

Can_I_change_the_location_of_the_color_bar_caption_in_Maple_2024.mw

In Maple 2024,

can I change the location of the color bar caption in Maple 2024? It conflicts with the color bar labels sometimes. See the attached maple sheet for an example.

Is there a shortcut in Maple that will comment out a block of highlighted code? I tried searching on Mapleprimes but everytime I search I get a page generation error.

See attached worksheet in Maple 2023.

This example is taken from the Maple help page. I want to 'zoom in' on a plot3d object. The only way I have found was from responses [1] on the maple primes forum. It uses InlinePlot and the scale option to perform the 'zoom in'. Since InlinePlot generates the plot in terms of XML there is no graphic out, only a text based output. In order to reconstitute the InlinePlot as a plot object I can view visually I need to use some additional commands from the DocumentTool package. This is all great but the output, which in our case is P3, is not a plot object and therefore cannot be exported as a png. Is there a way to convert the InlinePlot with the scaling applied back to a typical plot object so I can export it as a .png, using Export("output_plot.png",P3,base=worksheetdir)?

can_I_convert_InlinePlot(P3)_back_to_a_regular_plot_object_so_I_can_export_it_as_a_png.mw

1 2 3 4 5 6 Page 1 of 6